/* =========================================================
   Hechos 29 — Landing Page
   Paleta tomada del app: primary #323a57, success #249689,
   warning/coral #FF5963, yellow #F9CF58. Tipografías Lora y
   Plus Jakarta Sans, igual que el app.
   ========================================================= */

:root {
  /* Paleta sólida (extraída de lib/app/utils/app_colors.dart) */
  --color-primary: #323a57;
  --color-primary-dark: #232a44;
  --color-primary-deep: #1a2140;
  --color-teal: #249689;
  --color-teal-dark: #1c7a70;
  --color-coral: #ff5963;
  --color-yellow: #f9cf58;
  --color-ink: #14181b;
  --color-ink-soft: #2a323b;
  --color-muted: #57636c;
  --color-line: #e6e9ef;
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-surface-2: #f1f3f6;

  /* Tipografías */
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    Inter, sans-serif;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(20, 24, 27, 0.05),
    0 2px 6px rgba(20, 24, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(20, 24, 27, 0.08);
  --shadow-lg: 0 30px 60px -20px rgba(50, 58, 87, 0.35),
    0 18px 36px -18px rgba(50, 58, 87, 0.25);
  --shadow-phone: 0 40px 80px -30px rgba(20, 25, 45, 0.45),
    0 20px 40px -25px rgba(20, 25, 45, 0.35);

  /* Radios */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Layout */
  --container: 1180px;
  --container-narrow: 980px;
}

/* =========================================================
   Reset / base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-ink);
  margin: 0;
  letter-spacing: -0.01em;
}

h1 em,
h2 em,
h3 em,
h4 em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 600;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(50, 58, 87, 0.08);
  padding: 6px 12px;
  border-radius: var(--r-pill);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(50, 58, 87, 0.55);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 30px -12px rgba(50, 58, 87, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  padding: 10px 18px;
  border: 1.5px solid rgba(50, 58, 87, 0.18);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
}

.btn--text {
  color: var(--color-primary);
  padding: 14px 6px;
}
.btn--text:hover {
  color: var(--color-primary-dark);
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 250, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
}
.nav__brand em {
  font-style: italic;
  color: var(--color-teal);
}
.nav__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--color-primary);
  padding: 4px;
}

.nav__links {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-ink-soft);
}
.nav__links a {
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 80px 0 140px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 60% 50% at 10% 0%,
      rgba(36, 150, 137, 0.1),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 60% at 90% 10%,
      rgba(50, 58, 87, 0.09),
      transparent 60%
    ),
    var(--color-bg);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(50, 58, 87, 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(
    ellipse 60% 80% at 50% 40%,
    #000 30%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 80% at 50% 40%,
    #000 30%,
    transparent 75%
  );
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
}

.hero__copy {
  max-width: 560px;
}

.hero__title {
  font-size: clamp(48px, 6.6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 20px 0 22px;
  color: var(--color-primary);
}
.hero__title em {
  color: var(--color-teal);
  font-weight: 600;
}

.hero__lead {
  font-size: 18px;
  color: var(--color-muted);
  margin: 0 0 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-line);
  padding-top: 24px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
}
.hero__stats strong {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--color-primary);
  font-weight: 600;
}
.hero__stats span {
  font-size: 13px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-surface);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  max-width: 240px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong {
  display: block;
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.float-card span {
  color: var(--color-muted);
  font-size: 12.5px;
}
.float-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(50, 58, 87, 0.1);
  color: var(--color-primary);
}
.float-card__icon--alt {
  background: rgba(255, 89, 99, 0.14);
  color: var(--color-coral);
}
.float-card--bible {
  top: 8%;
  left: -10px;
  animation-delay: -1s;
}
.float-card--prayer {
  bottom: 12%;
  right: -10px;
  animation-delay: -3s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =========================================================
   PHONE MOCKUP (base)
   ========================================================= */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: #0d1322;
  padding: 12px;
  box-shadow: var(--shadow-phone);
  flex-shrink: 0;
}

.phone--hero {
  width: 320px;
  transform: rotate(-2deg);
}
.phone--mid {
  width: 280px;
}
.phone--small {
  width: 230px;
}
.phone--center {
  margin: 0 auto;
}
.phone--rotate-left {
  transform: rotate(-6deg);
}
.phone--rotate-right {
  transform: rotate(6deg);
}

.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0d1322;
  border-radius: 14px;
  z-index: 5;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone__screen--dark {
  background: var(--color-primary);
  color: #fff;
}

/* Status bar */
.m-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-ink);
}
.m-status__icons {
  display: flex;
  gap: 4px;
  align-items: center;
}
.m-status__icons .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.m-status__icons .bar {
  width: 18px;
  height: 8px;
  border-radius: 3px;
  border: 1px solid currentColor;
  position: relative;
}
.m-status__icons .bar::after {
  content: "";
  position: absolute;
  inset: 1px 4px 1px 1px;
  background: currentColor;
  border-radius: 1px;
}

/* Reusable in-app styles */
.m-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  background: rgba(50, 58, 87, 0.1);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.m-eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Home */
.m-home {
  flex: 1;
  padding: 14px 18px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.m-home--full {
  padding-top: 26px;
}

.m-verse-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  padding: 16px 18px 18px;
  overflow: hidden;
}
.m-verse-card__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-ink);
  margin: 12px 0 8px;
}
.m-verse-card__ref {
  font-size: 11px;
  color: var(--color-muted);
}
.m-quote-deco {
  position: absolute;
  top: 0;
  right: 8px;
  font-family: var(--font-serif);
  font-size: 70px;
  line-height: 1;
  color: rgba(50, 58, 87, 0.08);
  pointer-events: none;
}

.m-section-title {
  display: flex;
  flex-direction: column;
}
.m-section-title h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  margin: 2px 0 0;
}

.m-card-row {
  display: flex;
  gap: 10px;
}

.m-card {
  border-radius: var(--r-md);
  width: 120px;
  height: 150px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Cover variations using solid colors layered with linear gradients */
.m-card--cover {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.55) 100%),
    var(--cover-bg, var(--color-primary));
}
.m-card--cover-1 {
  --cover-bg: linear-gradient(135deg, #323a57 0%, #1a237e 100%);
}
.m-card--cover-2 {
  --cover-bg: linear-gradient(135deg, #249689 0%, #0e6f64 100%);
}
.m-card--cover-3 {
  --cover-bg: linear-gradient(135deg, #ff5963 0%, #c63845 100%);
}
.m-card--cover-4 {
  --cover-bg: linear-gradient(135deg, #f9cf58 0%, #c79a2b 100%);
}

.m-card__bottom {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-progress {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.m-progress span {
  display: block;
  height: 100%;
  background: var(--color-yellow);
}
.m-card__tag {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
}

/* Tab bar */
.m-tabbar {
  margin-top: auto;
  background: var(--color-primary);
  display: flex;
  justify-content: space-around;
  padding: 14px 18px 22px;
  color: rgba(255, 255, 255, 0.55);
}
.m-tabbar__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.m-tabbar__item.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}
.m-tabbar__item svg {
  color: currentColor;
}

/* Onboarding */
.m-onboarding {
  flex: 1;
  padding: 36px 22px 22px;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.m-onboarding__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background:
    radial-gradient(ellipse at 30% 20%, #5b6a96 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, #1a2140 0%, transparent 60%),
    linear-gradient(180deg, #2b3350 0%, #1a2140 100%);
  position: relative;
}
.m-onboarding__img::after {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(249, 207, 88, 0.45) 0%,
    transparent 70%
  );
}
.m-onboarding h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-top: 20px;
  font-family: var(--font-sans);
  line-height: 1.3;
}
.m-onboarding p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 18px;
  line-height: 1.5;
}
.m-onboarding__dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.m-onboarding__dots span {
  width: 12px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
}
.m-onboarding__dots span.is-active {
  width: 24px;
  background: #fff;
}
.m-onboarding__cta {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

/* Devotionals */
.m-devotionals {
  flex: 1;
  padding: 26px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.m-devotionals__title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-ink);
  margin: 0;
}
.m-devotionals__title em {
  color: var(--color-primary);
  font-style: italic;
}
.m-devotionals__sub {
  font-size: 11px;
  color: var(--color-muted);
  margin: 0;
}
.m-pill-row {
  display: flex;
  gap: 6px;
}
.m-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--color-surface-2);
  color: var(--color-muted);
}
.m-pill.is-active {
  background: var(--color-primary);
  color: #fff;
}
.m-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.m-cover {
  height: 100px;
  border-radius: var(--r-md);
  background: var(--cover-bg, var(--color-primary));
}

/* Reader */
.m-reader {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.m-reader__hero {
  height: 110px;
  background:
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(135deg, #323a57 0%, #1a2140 100%);
}
.m-reader__body {
  padding: 14px 18px;
  flex: 1;
  overflow: hidden;
}
.m-reader__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-ink);
  margin: 6px 0 12px;
}
.m-reader__p {
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin: 0 0 12px;
}
.m-verse-inline {
  border-left: 3px solid var(--color-teal);
  padding: 10px 12px;
  background: rgba(36, 150, 137, 0.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 12px;
}
.m-verse-inline__ref {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-teal);
}
.m-verse-inline p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  margin: 4px 0 0;
  color: var(--color-ink);
}
.m-reader__bar {
  padding: 12px 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-line);
  background: #fff;
}
.m-reader__progress {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--color-surface-2);
  overflow: hidden;
}
.m-reader__progress span {
  display: block;
  height: 100%;
  background: var(--color-primary);
}
.m-reader__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
}

/* Bible */
.m-bible {
  flex: 1;
  padding: 22px 18px 10px;
  overflow: hidden;
}
.m-bible__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.m-bible__head strong {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-ink);
}
.m-bible__chip {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  background: rgba(36, 150, 137, 0.12);
  padding: 4px 8px;
  border-radius: var(--r-pill);
}
.m-bible__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface-2);
  padding: 8px 12px;
  border-radius: var(--r-pill);
  color: var(--color-muted);
  font-size: 11px;
  margin-bottom: 14px;
}
.m-bible__v {
  font-family: var(--font-serif);
  font-size: 12.5px;
  color: var(--color-ink-soft);
  margin: 0 0 10px;
  line-height: 1.55;
}
.m-bible__v strong {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--color-primary);
  vertical-align: super;
  margin-right: 4px;
  font-weight: 800;
}

/* Notes */
.m-notes {
  flex: 1;
  padding: 22px 18px;
}
.m-notes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.m-notes__head h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-ink);
}
.m-notes__plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
}
.m-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  background: var(--color-surface-2);
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}
.m-note__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 6px;
  flex-shrink: 0;
}
.m-note strong {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink);
}
.m-note p {
  font-size: 11px;
  color: var(--color-muted);
  margin: 2px 0 0;
  line-height: 1.45;
}

/* Prayer mockup */
.m-prayer {
  padding: 24px 18px;
}
.m-prayer h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-ink);
  margin: 2px 0 14px;
}
.m-prayer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface-2);
  padding: 10px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 8px;
}
.m-prayer-item span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
  flex-shrink: 0;
}
.m-prayer-item p {
  margin: 0;
  font-size: 12px;
  color: var(--color-ink-soft);
}

/* TTS mockup */
.m-tts {
  padding: 30px 22px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.m-tts__wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  margin-bottom: 18px;
}
.m-tts__wave span {
  flex: 1;
  height: 40%;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.m-tts__wave span:nth-child(2) {
  animation-delay: 0.1s;
  height: 80%;
}
.m-tts__wave span:nth-child(3) {
  animation-delay: 0.2s;
  height: 60%;
}
.m-tts__wave span:nth-child(4) {
  animation-delay: 0.3s;
  height: 90%;
}
.m-tts__wave span:nth-child(5) {
  animation-delay: 0.4s;
  height: 50%;
}
.m-tts__wave span:nth-child(6) {
  animation-delay: 0.5s;
  height: 75%;
}
.m-tts__wave span:nth-child(7) {
  animation-delay: 0.6s;
  height: 30%;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.6);
  }
  50% {
    transform: scaleY(1);
  }
}

.m-tts strong {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-yellow);
}
.m-tts p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 22px;
}
.m-tts__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.m-tts__controls span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.m-tts__controls .is-play {
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

/* Splash mockup */
.m-splash {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--color-primary);
  color: #fff;
}
.m-splash img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.m-splash strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
}
.m-splash span {
  font-size: 12px;
  opacity: 0.7;
}

/* =========================================================
   STRIP (verse quote)
   ========================================================= */
.strip {
  background: var(--color-primary);
  color: #fff;
  padding: 28px 0;
}
.strip__inner {
  text-align: center;
}
.strip__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  margin: 0;
}
.strip__quote > span[aria-hidden="true"] {
  color: var(--color-yellow);
  margin-right: 6px;
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.2em;
}
.strip__ref {
  display: inline-block;
  margin-left: 14px;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   SECTION HEAD (shared)
   ========================================================= */
.section-head {
  max-width: 720px;
  margin: 0 0 56px;
}
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head--light h2,
.section-head--light p {
  color: #fff;
}
.section-head--light em {
  color: var(--color-yellow);
}
.section-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  margin: 18px 0 14px;
}
.section-head p {
  color: var(--color-muted);
  font-size: 17px;
  margin: 0;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  padding: 120px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(50, 58, 87, 0.18);
}
.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature__icon--primary {
  background: rgba(50, 58, 87, 0.1);
  color: var(--color-primary);
}
.feature__icon--teal {
  background: rgba(36, 150, 137, 0.14);
  color: var(--color-teal);
}
.feature__icon--coral {
  background: rgba(255, 89, 99, 0.14);
  color: var(--color-coral);
}
.feature__icon--yellow {
  background: rgba(249, 207, 88, 0.22);
  color: #b88a16;
}
.feature h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.55;
}

/* =========================================================
   MOCKUPS GRID
   ========================================================= */
.mockups {
  background: var(--color-primary);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.mockups::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  pointer-events: none;
}
.mockups .container {
  position: relative;
}

.mockups__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
  justify-items: center;
}
.mockup-card {
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mockup-card .phone {
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.mockup-card:hover .phone {
  transform: translateY(-6px);
}
.mockup-card figcaption {
  margin-top: 28px;
  max-width: 260px;
}
.mockup-card figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.mockup-card figcaption span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* =========================================================
   JOURNEY
   ========================================================= */
.journey {
  padding: 120px 0;
}
.journey__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.journey__copy {
  max-width: 520px;
}
.journey__copy h2 {
  font-size: clamp(34px, 4vw, 48px);
  margin: 18px 0 14px;
}
.journey__copy > p {
  color: var(--color-muted);
  margin-bottom: 36px;
  font-size: 17px;
}
.journey__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.journey__steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--color-line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.journey__steps li:hover {
  border-color: rgba(50, 58, 87, 0.18);
  transform: translateX(4px);
}
.journey__num {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-teal);
  flex-shrink: 0;
  line-height: 1.1;
}
.journey__steps strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.journey__steps span {
  font-size: 14px;
  color: var(--color-muted);
}
.journey__visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journey__visual .phone--rotate-left {
  position: absolute;
  left: 4%;
  z-index: 1;
}
.journey__visual .phone--rotate-right {
  position: absolute;
  right: 4%;
  z-index: 2;
  top: 18%;
}

/* =========================================================
   STACK
   ========================================================= */
.stack {
  background: var(--color-surface-2);
  padding: 100px 0;
}
.stack__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.stack__item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.stack__item strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}
.stack__item span {
  font-size: 12.5px;
  color: var(--color-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: 120px 0;
  background: #fff;
}
.faq__list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--color-line);
  padding: 22px 0;
}
.faq details[open] summary {
  color: var(--color-primary);
}
.faq summary {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  transition: color 0.2s ease;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 720px;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: linear-gradient(160deg, #1a2140 0%, #323a57 70%);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}
.cta::before {
  width: 380px;
  height: 380px;
  background: var(--color-teal);
  top: -120px;
  left: -120px;
}
.cta::after {
  width: 320px;
  height: 320px;
  background: var(--color-yellow);
  bottom: -120px;
  right: -100px;
  opacity: 0.18;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.cta__copy h2 {
  font-size: clamp(38px, 4.4vw, 58px);
  color: #fff;
  margin: 18px 0 14px;
  line-height: 1.05;
}
.cta__copy h2 em {
  color: var(--color-yellow);
}
.cta__copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 480px;
}
.cta__stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: #fff;
  color: var(--color-ink);
  border-radius: var(--r-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.store small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.store strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}
.cta__visual {
  display: flex;
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  background: var(--color-primary-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.foot__brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
}
.foot__brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  color: #fff;
}
.foot__brand span {
  font-size: 13px;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.foot__cols h5 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 14px;
}
.foot__cols a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.foot__cols a:hover {
  color: #fff;
}
.foot__bar {
  padding: 20px 0;
}
.foot__bar-inner {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stack__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mockups__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 24px;
  }
  .hero__inner,
  .journey__inner,
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero__visual,
  .cta__visual {
    margin: 0 auto;
  }
  .journey__visual {
    height: 460px;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .hero {
    padding: 50px 0 90px;
  }
  .hero__title {
    font-size: clamp(40px, 11vw, 58px);
  }
  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .hero__stats strong {
    font-size: 26px;
  }
  .features,
  .mockups,
  .journey,
  .faq,
  .stack,
  .cta {
    padding: 80px 0;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .mockups__grid {
    grid-template-columns: 1fr;
  }
  .stack__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot__inner {
    grid-template-columns: 1fr;
  }
  .foot__cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot__bar-inner {
    flex-direction: column;
    gap: 6px;
  }
  .float-card {
    transform: scale(0.85);
  }
  .float-card--bible {
    top: 2%;
    left: -16px;
  }
  .float-card--prayer {
    bottom: 6%;
    right: -16px;
  }
  .phone--hero {
    transform: rotate(0deg) scale(0.95);
  }
  .journey__visual {
    height: 380px;
  }
  .phone--small {
    width: 200px;
  }
}

/* =========================================================
   DOC / LEGAL PAGES (terms.html, eliminar-cuenta.html)
   ========================================================= */
.doc {
  padding: 70px 0 90px;
  background:
    radial-gradient(
      ellipse 60% 40% at 12% 0%,
      rgba(36, 150, 137, 0.08),
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 90% 6%,
      rgba(50, 58, 87, 0.07),
      transparent 60%
    );
}

.doc__wrap {
  width: min(100%, var(--container-narrow));
  margin: 0 auto;
  padding: 0 24px;
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 26px;
  transition: color 0.2s ease;
}
.doc__back:hover {
  color: var(--color-primary);
}

.doc__head {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-line);
}
.doc__head h1 {
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.1;
  margin-top: 12px;
}
.doc__head p {
  color: var(--color-muted);
  font-size: 16px;
  max-width: 60ch;
  margin: 14px 0 0;
}

.doc__body {
  font-size: 16px;
  color: var(--color-ink-soft);
}
.doc__body h2 {
  font-size: 22px;
  margin: 40px 0 10px;
  scroll-margin-top: 90px;
}
.doc__body h2:first-child {
  margin-top: 0;
}
.doc__body p {
  margin: 0 0 16px;
  line-height: 1.7;
}
.doc__body a {
  color: var(--color-teal);
  font-weight: 600;
  border-bottom: 1px solid rgba(36, 150, 137, 0.3);
}
.doc__body a:hover {
  border-bottom-color: var(--color-teal);
}
.doc__body strong {
  color: var(--color-ink);
}

.doc__updated {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 14px;
  color: var(--color-muted);
}

/* Callout box */
.callout {
  display: flex;
  gap: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.callout--warn {
  border-left-color: var(--color-yellow);
}
.callout__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: rgba(36, 150, 137, 0.12);
  color: var(--color-teal);
}
.callout--warn .callout__icon {
  background: rgba(249, 207, 88, 0.22);
  color: #9a7b12;
}
.callout__body {
  font-size: 15px;
  line-height: 1.6;
}
.callout__body strong {
  display: block;
  margin-bottom: 2px;
  color: var(--color-ink);
}
.callout__body p {
  margin: 0;
  color: var(--color-muted);
}

/* Numbered steps (eliminar-cuenta) */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  counter-increment: step;
  position: relative;
  display: flex;
  gap: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-teal);
  min-width: 38px;
}
.steps li strong {
  display: block;
  font-size: 17px;
  color: var(--color-ink);
  margin-bottom: 4px;
}
.steps li p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Copy field (CLABE) */
.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin: 8px 0 4px;
}
.copy-field__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.copy-field__value {
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-ink);
}
.copy-field__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(50, 58, 87, 0.1);
  padding: 9px 14px;
  border-radius: var(--r-pill);
  transition: background 0.2s ease;
}
.copy-field__btn:hover {
  background: rgba(50, 58, 87, 0.18);
}

/* Donation method cards */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 8px;
}
.donate-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.donate-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.donate-card__head h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
}
.donate-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
}
.donate-card__icon--bank {
  background: rgba(36, 150, 137, 0.12);
  color: var(--color-teal);
}
.donate-card__icon--paypal {
  background: rgba(0, 112, 186, 0.12);
  color: #0070ba;
}
.donate-card p {
  font-size: 14.5px;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.btn--paypal {
  background: #0070ba;
  color: #fff;
  width: 100%;
  justify-content: center;
}
.btn--paypal:hover {
  background: #005a96;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }
  .doc {
    padding: 50px 0 70px;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
