/* =========================================================
   LA CÁMARA DE REFLEXIONES · LANDING DE PREVENTA
   ========================================================= */

.book-launch {
  overflow-x: hidden;
}

.book-launch-hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 520px at 74% 30%, rgba(201, 162, 39, 0.11), transparent 58%),
    radial-gradient(760px 480px at 20% 20%, rgba(107, 47, 163, 0.14), transparent 60%),
    var(--bg-main);
}

.book-launch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 42px 42px;
}

.book-launch-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 64px;
  padding: 72px 0 76px;
}

.book-launch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: 999px;
  color: var(--accent-gold);
  background: rgba(201, 162, 39, 0.07);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.book-launch-kicker {
  margin: 0 0 12px;
  color: var(--accent-gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-launch-title {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--accent-ivory);
}

.book-launch-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--text-main);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.45;
}

.book-launch-author {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.book-launch-hero__copy .cta {
  margin-top: 28px;
}

.book-launch-cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-launch-cover-wrap::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.16);
  filter: blur(70px);
}

.book-launch-cover {
  position: relative;
  width: min(390px, 86%);
  border-radius: 4px;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.58),
}

.book-launch-quote {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-main);
}

.book-launch-quote .container {
  padding: 34px 48px;
  border: 1px solid rgba(201, 162, 39, 0.62);
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(201, 162, 39, 0.07),
      rgba(107, 47, 163, 0.05) 55%,
      rgba(17, 19, 26, 0.98)
    );
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.book-launch-quote p {
  margin: 0;
  color: var(--accent-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.6vw, 2rem);
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 900px) {
  .book-launch-quote .container {
    padding: 30px 26px;
  }

  .book-launch-quote__break {
    display: none;
  }
}

.book-launch-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.book-launch-quote + .book-launch-section {
  padding-top: 24px;
}

.book-launch-section--alt {
  background: var(--bg-alt);
}

.book-launch-section__head {
  max-width: 780px;
  margin-bottom: 34px;
}

.book-launch-section__head h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  color: var(--accent-ivory);
}

.book-launch-section__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.03rem;
}

.book-launch-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.book-launch-intro__text p {
  margin-top: 0;
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.book-launch-intro__aside {
  padding: 24px;
  border: 1px solid rgba(201, 162, 39, 0.24);
  border-radius: 18px;
  background: rgba(201, 162, 39, 0.045);
}

.book-launch-intro__aside strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-gold);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-launch-intro__aside p {
  margin: 0;
  color: var(--text-main);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.55;
}

.book-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.book-topic {
  min-height: 168px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
}

.book-topic__num {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.book-topic h3 {
  margin: 0 0 8px;
  color: var(--text-main);
  font-size: 1.05rem;
}

.book-topic p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.preorder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}

.preorder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-card);
}

.preorder-card--featured {
  border-color: rgba(201, 162, 39, 0.72);
  box-shadow: 0 18px 55px rgba(201, 162, 39, 0.08);
}

.preorder-card__badge {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent-gold);
  color: #1b1506;
  font-size: 0.78rem;
  font-weight: 800;
}

.preorder-card h3 {
  margin: 14px 0 5px;
  color: var(--accent-ivory);
  font-size: 1.45rem;
}

.preorder-card__desc {
  min-height: 50px;
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.preorder-card__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 4px;
}

.preorder-card__price strong {
  color: var(--accent-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.preorder-card__price span {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.preorder-card__regular {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.preorder-card__regular s {
  opacity: 0.8;
}

.preorder-card__availability {
  margin: 8px 0 28px;
  color: var(--accent-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.preorder-card ul {
  margin: 0 0 26px;
  padding-left: 18px;
  color: var(--text-main);
  font-size: 0.92rem;
}

.preorder-card li + li {
  margin-top: 7px;
}

.preorder-card .btn {
  width: 100%;
  margin-top: auto;
}

.preorder-card .btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.25);
}

.preorder-card__status {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
}

.launch-event {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: stretch;
}

.launch-event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 36px;
  border: 1px solid rgba(201, 162, 39, 0.62);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 162, 39, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(24, 23, 21, 0.98), rgba(15, 16, 23, 0.98));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.launch-event__date-day {
  color: var(--accent-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.5rem, 12vw, 8.5rem);
  line-height: 0.84;
}

.launch-event__date-month {
  margin-top: 22px;
  color: var(--accent-ivory);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.launch-event__date-year {
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.launch-event__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.launch-event__info h2 {
  margin: 0 0 18px;
  color: var(--accent-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.launch-event__details {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.launch-event__detail {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.launch-event__detail strong {
  color: var(--accent-gold);
}

.launch-event__detail span {
  color: var(--text-main);
}

.book-launch-final {
  position: relative;
  padding: 82px 0;
  text-align: center;
  background:
    radial-gradient(760px 340px at 50% 50%, rgba(201, 162, 39, 0.11), transparent 65%),
    #090a0e;
}

.book-launch-final h2 {
  max-width: 820px;
  margin: 0 auto 16px;
  color: var(--accent-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.06;
}

.book-launch-final p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--text-muted);
}

@media (max-width: 920px) {
  .book-launch-hero__inner,
  .book-launch-intro,
  .launch-event {
    grid-template-columns: 1fr;
  }

  .book-launch-hero__inner {
    gap: 44px;
    padding-top: 54px;
  }

  .book-launch-cover {
    width: min(360px, 78vw);
  }

  .book-topics,
  .preorder-grid {
    grid-template-columns: 1fr;
  }

  .preorder-card {
    min-height: 0;
  }

  .preorder-card__desc {
    min-height: 0;
  }

  .launch-event__date {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .book-launch-hero__inner {
    padding: 42px 0 52px;
  }

  .book-launch-title {
    font-size: clamp(2.55rem, 15vw, 4.25rem);
  }

  .book-launch-section {
    padding: 54px 0;
  }

  .book-launch-quote {
    padding: 18px 0;
  }

  .book-launch-quote + .book-launch-section {
    padding-top: 18px;
  }

  .launch-event__detail {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .launch-event__date {
    min-height: 250px;
    padding: 28px 20px;
  }
}


/* =========================================================
   MODAL DE PREVENTA · TRANSFERENCIA SPEI
   ========================================================= */

.preorder-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  pointer-events: none;
}

.preorder-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: auto;
}

.preorder-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.preorder-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 28px 90px rgba(0,0,0,0.58);
}

.preorder-modal__dialog h2 {
  margin: 0 0 12px;
  color: var(--accent-ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.preorder-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-main);
  font-size: 1.45rem;
  cursor: pointer;
}

.preorder-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.preorder-form-grid label {
  margin: 0;
}

.preorder-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.05);
}

.preorder-summary span {
  color: var(--text-muted);
}

.preorder-summary strong {
  color: var(--accent-gold);
  text-align: right;
}

.preorder-continue {
  width: 100%;
}

.preorder-reference-box {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 16px;
  background: rgba(201, 162, 39, 0.08);
  text-align: center;
}

.preorder-reference-box span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.preorder-reference-box strong {
  display: block;
  color: var(--accent-gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  letter-spacing: 0.04em;
  word-break: break-word;
}

.preorder-payment-box {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-alt);
}

.preorder-payment-box h3 {
  margin: 0 0 14px;
  color: var(--accent-ivory);
}

.preorder-bank-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.preorder-bank-row:last-child {
  border-bottom: 0;
}

.preorder-bank-row span {
  color: var(--text-muted);
}

.preorder-bank-row strong {
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.preorder-important {
  padding: 14px 16px;
  border-left: 3px solid var(--accent-gold);
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.07);
  color: var(--text-main);
}

#preorderStepPayment > .btn {
  display: flex;
  width: fit-content;
  margin-left: auto;
}

@media (max-width: 640px) {
  .preorder-modal.is-open {
    padding: 12px;
  }

  .preorder-modal__dialog {
    padding: 24px 18px;
    max-height: calc(100vh - 24px);
  }

  .preorder-form-grid {
    grid-template-columns: 1fr;
  }

  .preorder-bank-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
