/* ============================================================
   LANDING GUÍAS GENTIUM · Estilos
   Misma identidad visual que la plantilla del posgrado:
   fondo oscuro #0c0c0c, crema #f2ecd9, naranja #de7a4d.
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #0c0c0c;
  font-family: Inter, "Neue Haas Grotesk Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background-color: #0c0c0c;
  background-image:
    radial-gradient(58% 50% at 100% 6%, rgba(201, 91, 40, 0.13) 0%, rgba(201, 91, 40, 0) 66%),
    radial-gradient(50% 40% at 0% 60%, rgba(201, 91, 40, 0.07) 0%, rgba(201, 91, 40, 0) 70%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #f2ecd9;
}

.container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-left: 44px;
  padding-right: 44px;
}

/* =========================
   ENCABEZADO MÍNIMO
========================= */

.top-header {
  padding: 48px 0 10px;
  text-align: center;
}

.top-logo {
  width: 200px;
  height: auto;
  opacity: 0.97;
}

/* =========================
   INTRO BREVE (hero)
========================= */

.hero-section {
  padding: 48px 0 6px;
  text-align: center;
}

.hero-title {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff4df;
}

.hero-title span { color: #de7a4d; }

.hero-sub {
  margin: 0 auto;
  max-width: 460px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(242, 236, 217, 0.72);
}

.hero-choose {
  margin: 16px auto 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(242, 236, 217, 0.72);
}

/* Línea de autoridad (autor) en el comienzo */
.hero-authority {
  margin: 26px auto 0;
  max-width: 500px;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(222, 122, 77, 0.28);
  background: rgba(207, 96, 48, 0.09);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(242, 236, 217, 0.82);
}

.hero-authority strong { color: #fff4df; font-weight: 700; }

/* Navegación breve (chips) */
.quick-nav {
  margin-top: 42px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
}

.quick-nav span { display: none !important; }

.quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 244, 223, 0.16);
  background: rgba(255, 244, 223, 0.04);
  color: rgba(242, 236, 217, 0.75);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.25;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.quick-nav a:hover {
  color: #fff4df;
  border-color: rgba(222, 122, 77, 0.55);
  background: rgba(207, 96, 48, 0.14);
}

/* =========================
   TARJETA DE PRODUCTO
========================= */

.product-section { padding: 42px 0 10px; }

.product-card {
  background: linear-gradient(180deg, rgba(255, 244, 223, 0.045) 0%, rgba(255, 244, 223, 0.02) 100%);
  border: 1px solid rgba(255, 244, 223, 0.1);
  border-radius: 22px;
  padding: 34px 30px 30px;
  position: relative;
}

/* Separadores sutiles entre secciones */
.product-section + .product-section::before,
.combo-section::before,
.buy-section::before,
.author-section::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(222, 122, 77, 0.45);
  margin: 0 auto;
}

/* Microinteracciones: borde de las cards al pasar el cursor */
.product-card,
.combo-card,
.buy-card,
.author-card {
  transition: border-color 0.28s ease;
}

.product-card:hover, .buy-card:hover { border-color: rgba(255, 244, 223, 0.22); }
.combo-card:hover { border-color: rgba(222, 122, 77, 0.55); }
.author-card:hover { border-color: rgba(222, 122, 77, 0.45); }

/* Aparición suave al entrar en pantalla */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, border-color 0.28s ease;
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

.product-head {
  text-align: center;
  margin-bottom: 28px;
}

.product-kicker {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #de7a4d;
}

.product-title {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 800;
  color: #fff4df;
}

.product-subtitle {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(242, 236, 217, 0.72);
}

.product-meta-line {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(242, 236, 217, 0.55);
}

.product-desc {
  margin: 28px 0 0;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(242, 236, 217, 0.86);
}

.product-desc + .product-desc { margin-top: 14px; }

.product-desc strong { color: #fff4df; }


/* ---------- "Esta guía es para vos si" ---------- */

.for-you {
  margin-top: 30px;
  padding: 18px 20px 8px;
  border-radius: 14px;
  border: 1px solid rgba(222, 122, 77, 0.26);
  background: rgba(207, 96, 48, 0.08);
}

.for-you-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #de7a4d;
}

.for-you .includes-list li { border-bottom-color: rgba(255, 244, 223, 0.06); }


/* ---------- Beneficios visibles ---------- */

.benefits { margin-top: 32px; }

.benefits-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #de7a4d;
}

/* ---------- Qué incluye (desplegable) ---------- */

.includes {
  margin-top: 28px;
  border: 1px solid rgba(255, 244, 223, 0.12);
  border-radius: 14px;
  background: rgba(255, 244, 223, 0.03);
  overflow: hidden;
}

.includes summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #de7a4d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.includes summary::-webkit-details-marker { display: none; }

.includes summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: rgba(242, 236, 217, 0.6);
  transition: transform 0.2s ease;
}

.includes[open] summary::after { transform: rotate(45deg); }

.includes .includes-list,
.includes .includes-note {
  padding-left: 20px;
  padding-right: 20px;
}

.includes .includes-list { margin-top: 0; }

.includes .includes-note { margin: 12px 0 16px; }

.includes-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.includes-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 14.8px;
  line-height: 1.5;
  color: rgba(242, 236, 217, 0.85);
  border-bottom: 1px solid rgba(255, 244, 223, 0.07);
}

.includes-list li:last-child { border-bottom: none; }

.includes-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4571f;
  box-shadow: 0 0 0 3px rgba(196, 87, 31, 0.22);
}

.includes-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(242, 236, 217, 0.55);
}

/* =========================
   PREVISUALIZADOR (mini libro)
========================= */

.preview-block { margin-top: 30px; }

.preview-label {
  margin: 0 0 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #de7a4d;
}

.book {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #14110d;
  border: 1px solid rgba(255, 244, 223, 0.12);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  perspective: 1400px;
}

.book-pages {
  position: relative;
  width: 100%;
  aspect-ratio: 1310 / 1853;
}

.book-page {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform-origin: left center;
  transform: rotateY(-14deg);
  transition: opacity 0.42s ease, transform 0.42s ease;
  pointer-events: none;
}

.book-page.is-active {
  opacity: 1;
  transform: rotateY(0deg);
}

.book-page.is-prev { transform: rotateY(10deg); }

.book-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* lomo del libro */
.book::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0));
}

.book-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #fff4df;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.book-arrow:hover { background: rgba(196, 87, 31, 0.85); }
.book-arrow:disabled { opacity: 0.25; cursor: default; }
.book-arrow:disabled:hover { background: rgba(12, 12, 12, 0.72); }
.book-prev { left: 12px; }
.book-next { right: 12px; }

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.book-count {
  font-size: 12.5px;
  color: rgba(242, 236, 217, 0.55);
}

.book-dots { display: flex; gap: 6px; }

.book-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 244, 223, 0.2);
  transition: background 0.2s ease;
}

.book-dot.is-on { background: #de7a4d; }

.preview-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: rgba(242, 236, 217, 0.45);
}

/* =========================
   PRECIO Y BOTÓN DE COMPRA
========================= */

.price-box {
  margin-top: 40px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 244, 223, 0.045);
  border: 1px solid rgba(255, 244, 223, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.price-label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 236, 217, 0.55);
}

.price-value {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 800;
  color: #fff4df;
}

.price-box .buy-btn { margin-top: 16px; }

.price-value .pendiente {
  font-size: 15px;
  font-weight: 600;
  color: rgba(242, 236, 217, 0.5);
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 26px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff4df;
  background: linear-gradient(135deg, #cf6030 0%, #c4571f 100%);
  box-shadow: 0 12px 28px rgba(196, 87, 31, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.buy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(196, 87, 31, 0.45);
}

/* =========================
   COMBO
========================= */

.combo-section { padding: 42px 0 10px; }

.combo-card {
  border-radius: 22px;
  padding: 36px 30px 32px;
  text-align: center;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(207, 96, 48, 0.28) 0%, rgba(207, 96, 48, 0.06) 55%, rgba(255, 244, 223, 0.03) 100%);
  border: 1px solid rgba(222, 122, 77, 0.35);
}

.combo-kicker {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #de7a4d;
}

.combo-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff4df;
}

.combo-sub {
  margin: 0 auto 22px;
  max-width: 380px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(242, 236, 217, 0.75);
}

.combo-covers {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}

.combo-covers img {
  width: 132px;
  border-radius: 8px;
  border: 1px solid rgba(255, 244, 223, 0.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.combo-covers img:first-child { transform: rotate(-5deg) translateX(9px); }
.combo-covers img:last-child { transform: rotate(5deg) translateX(-9px); }

.combo-before {
  margin: 0 0 2px;
  font-size: 14px;
  color: rgba(242, 236, 217, 0.55);
}

.combo-before s { color: rgba(242, 236, 217, 0.7); }

.combo-price {
  margin: 0 0 4px;
  font-size: 32px;
  font-weight: 800;
  color: #fff4df;
}

.combo-price .pendiente {
  font-size: 16px;
  font-weight: 600;
  color: rgba(242, 236, 217, 0.55);
}

.combo-save {
  display: inline-block;
  margin: 2px 0 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #9ed98b;
  background: rgba(158, 217, 139, 0.1);
  border: 1px solid rgba(158, 217, 139, 0.3);
}

.combo-detail {
  margin: 0 0 22px;
  font-size: 13px;
  color: rgba(242, 236, 217, 0.55);
}

/* =========================
   SOBRE EL AUTOR
========================= */

.author-section { padding: 42px 0 10px; }

.author-section .container { max-width: 780px; }

.author-card {
  background: linear-gradient(180deg, rgba(255, 244, 223, 0.045) 0%, rgba(255, 244, 223, 0.02) 100%);
  border: 1px solid rgba(222, 122, 77, 0.25);
  border-radius: 22px;
  padding: 44px 34px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.author-kicker {
  margin: 0 0 26px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #de7a4d;
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 244, 223, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  margin-bottom: 26px;
  user-select: none;
  -webkit-user-drag: none;
}

.author-name {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 800;
  color: #fff4df;
}

.author-role {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 236, 217, 0.6);
}

.author-divider {
  width: 100%;
  max-width: 620px;
  height: 1px;
  border: none;
  background: rgba(255, 244, 223, 0.12);
  margin: 28px 0;
}

.author-list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 620px;
  text-align: left;
}

.author-list li {
  position: relative;
  padding: 0 0 0 28px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(242, 236, 217, 0.8);
}

.author-list li:last-child { margin-bottom: 0; }

.author-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  background: #de7a4d;
}

.author-list em { color: rgba(255, 244, 223, 0.92); }

.author-list strong { color: #fff4df; font-weight: 700; }

/* =========================
   COMPRA (datos → pago)
========================= */

.buy-section { padding: 48px 0 20px; }

.buy-section .container,
.combo-section .container { max-width: 780px; }

.buy-card {
  background: linear-gradient(180deg, rgba(255, 244, 223, 0.05) 0%, rgba(255, 244, 223, 0.02) 100%);
  border: 1px solid rgba(255, 244, 223, 0.12);
  border-radius: 22px;
  padding: 40px 34px 38px;
}

.buy-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff4df;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.steps li {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 244, 223, 0.14);
  color: rgba(242, 236, 217, 0.45);
}

.steps li.is-on {
  color: #fff4df;
  border-color: rgba(222, 122, 77, 0.55);
  background: rgba(207, 96, 48, 0.16);
}

.steps li.is-done { color: #9ed98b; border-color: rgba(158, 217, 139, 0.35); }

.buy-selected {
  max-width: 640px;
  margin: 0 auto 26px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(207, 96, 48, 0.12);
  border: 1px solid rgba(222, 122, 77, 0.3);
  text-align: center;
  transition: border-color 0.25s ease;
}

.buy-selected.needs-pick { border-color: #ff8174; }

.buy-selected-label {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 236, 217, 0.55);
}

/* Opciones compactas de producto */
.buy-picker {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-picker[hidden] { display: none; }

.pick-btn {
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff4df;
  background: rgba(255, 244, 223, 0.06);
  border: 1px solid rgba(255, 244, 223, 0.2);
  border-radius: 999px;
  padding: 11px 20px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.15s ease;
}

.pick-btn:hover {
  border-color: #de7a4d;
  background: rgba(207, 96, 48, 0.18);
  transform: translateY(-1px);
}

/* Producto elegido */
.buy-chosen { text-align: center; }

.buy-selected-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff4df;
}

.buy-selected-price {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #de7a4d;
}

.link-change {
  border: none;
  background: none;
  cursor: pointer;
  padding: 2px 4px;
  margin-top: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: rgba(242, 236, 217, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-change:hover { color: #de7a4d; }

#buyForm {
  max-width: 640px;
  margin: 0 auto;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  color: rgba(242, 236, 217, 0.85);
}

.field input {
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 244, 223, 0.18);
  background: rgba(12, 12, 12, 0.55);
  color: #fff4df;
  font-family: inherit;
  font-size: 15.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus { border-color: #de7a4d; }

.field input::placeholder { color: rgba(242, 236, 217, 0.45); }

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-error {
  display: none;
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #ff8174;
}

.field.has-error .field-error { display: block; }
.field.has-error input { border-color: #ff4d3d; }

.field-hint {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  color: rgba(242, 236, 217, 0.68);
}

/* Confirmación de email correcta */
.field.is-ok input { border-color: #7fb96d; }

.field.is-ok::after {
  content: "✓ Los emails coinciden";
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: #9ed98b;
}

.email-note .icon { flex: none; margin-top: 1px; }

.submit-btn {
  display: block;
  width: 100%;
  max-width: 440px;
  height: 60px;
  margin: 22px auto 0;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0 26px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff4df;
  background: linear-gradient(135deg, #cf6030 0%, #c4571f 100%);
  box-shadow: 0 12px 28px rgba(196, 87, 31, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(196, 87, 31, 0.45);
}

/* Paso de pago */
.pay-step { display: none; }

.pay-step.is-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  max-width: 460px;
  margin: 0 auto;
}

.steps-mini { justify-content: center; margin: 0; }

.steps-mini li {
  font-size: 11px;
  padding: 5px 12px;
}

.pay-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff4df;
}

.pay-summary {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 244, 223, 0.04);
  border: 1px solid rgba(255, 244, 223, 0.12);
}

.pay-summary .buy-selected-label { margin: 0 0 8px; }

.pay-summary-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff4df;
}

.pay-summary-price {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #de7a4d;
}

.pay-email-block { width: 100%; }

.pay-email-line {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: rgba(242, 236, 217, 0.65);
}

.pay-email {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: #fff4df;
  word-break: break-all;
}

.pay-email-change {
  border: none;
  background: none;
  cursor: pointer;
  padding: 2px 4px;
  margin-left: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #de7a4d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pay-email-change:hover { color: #fff4df; }

.mp-btn {
  display: block;
  width: 100%;
  max-width: 460px;
  padding: 16px 26px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #009ee3;
  box-shadow: 0 12px 28px rgba(0, 158, 227, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 158, 227, 0.4);
}

.pay-pending {
  margin: 0;
  font-size: 13px;
  color: rgba(242, 236, 217, 0.5);
}

.pay-help {
  width: 100%;
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(242, 236, 217, 0.45);
}

.pay-help a {
  color: rgba(242, 236, 217, 0.6);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pay-help a:hover { color: #f2ecd9; }

.wa-question {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: rgba(242, 236, 217, 0.6);
}

.wa-question a {
  color: #de7a4d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(222, 122, 77, 0.4);
}

.wa-question a:hover { border-bottom-color: #de7a4d; }

/* =========================
   FOOTER
========================= */

.footer {
  padding: 50px 0 40px;
  text-align: center;
}

.footer-logo { height: 26px; opacity: 0.7; }

.footer-line {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(242, 236, 217, 0.45);
}

.footer-legal {
  margin: 10px auto 0;
  max-width: 420px;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(242, 236, 217, 0.3);
}

/* =========================
   RESPONSIVE
========================= */

/* Escritorio: cada guía en dos columnas (preview | info) */
@media (min-width: 900px) {
  .product-section .container { max-width: 1140px; }

  .product-card { padding: 44px 48px 42px; }

  .product-cols {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
    align-items: start;
  }

  /* La portada acompaña el desplazamiento dentro de la card (sticky) */
  .product-media {
    position: sticky;
    top: 32px;
    align-self: flex-start;
  }

  .product-info > .product-desc:first-child { margin-top: 0; }
}

@media (max-width: 560px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .hero-title { font-size: 26px; }
  .quick-nav {
    margin-top: 34px;
    flex-direction: column;
    align-items: center;
    gap: 9px;
  }
  .quick-nav a {
    width: 100%;
    max-width: 300px;
    padding: 13px 16px;
    font-size: 13.5px;
  }
  .top-logo { width: 165px; }
  .product-card, .buy-card { padding: 26px 20px 24px; }
  .combo-card { padding: 30px 20px 26px; }
  .product-title { font-size: 22px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .buy-btn { width: 100%; justify-content: center; }
  .combo-covers img { width: 108px; }

  .author-card { padding: 30px 22px 26px; }
}

/* Error del formulario de compra */
.form-error {
  margin: 14px auto 0;
  max-width: 440px;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: #ff8174;
}

/* =========================
   NOTA DE SEGURIDAD DEL PAGO
========================= */

.pay-secure {
  margin: 0;
  max-width: 460px;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
  color: rgba(242, 236, 217, 0.45);
}

/* =========================
   PREGUNTAS FRECUENTES
========================= */

.faq-section { padding: 42px 0 10px; }

.faq-section .container { max-width: 780px; }

.faq-kicker {
  margin: 0 0 18px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #de7a4d;
}

.includes.faq { margin-top: 10px; }

.includes.faq summary {
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  color: #fff4df;
}

.faq-text {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 14.5px;
  line-height: 1.6;
  text-align: left;
  color: rgba(242, 236, 217, 0.75);
}

/* =========================
   LIGHTBOX (páginas de muestra ampliadas)
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.93);
  display: none;
}

.lightbox.is-open { display: block; }

.lightbox-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 54px 12px 24px;
}

.lightbox img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 860px;
  height: auto;
  border-radius: 6px;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.lightbox img.is-zoom {
  width: 190%;
  max-width: none;
  cursor: zoom-out;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 101;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 17px;
  color: #fff4df;
  background: rgba(45, 42, 38, 0.92);
}

.lightbox-close:hover { background: rgba(196, 87, 31, 0.85); }

/* Botoncito de WhatsApp dentro de las FAQ */
.faq-wa {
  display: inline-block;
  margin-left: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #25d366;
  vertical-align: middle;
  transition: transform 0.15s ease;
}

.faq-wa::before { content: "💬 "; }

.faq-wa:hover { transform: translateY(-1px); }

/* Ícono de la página de gracias cuando el pago no se procesó */
.thanks-check.is-error {
  color: #ff8174;
  background: rgba(255, 129, 116, 0.1);
  border-color: rgba(255, 129, 116, 0.35);
}

/* =========================
   ENTREGA Y SEGURIDAD JUNTO A CADA BOTÓN
========================= */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(242, 236, 217, 0.72);
}

.trust-row li::before {
  content: "✓";
  font-size: 11px;
  font-weight: 700;
  color: #9ed98b;
}

.trust-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(242, 236, 217, 0.55);
}

.combo-card .trust-row { margin-top: 18px; }

.trust-row-form { margin-top: 18px; }

/* =========================
   ACLARACIÓN PROFESIONAL
========================= */

.notice-section { padding: 30px 0 4px; }

.notice-section .container { max-width: 780px; }

.notice-pro {
  margin: 0;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 244, 223, 0.12);
  background: rgba(255, 244, 223, 0.03);
  font-size: 13.5px;
  line-height: 1.65;
  text-align: center;
  color: rgba(242, 236, 217, 0.6);
}

/* =========================
   COMPRA · AJUSTES DEL PASO ÚNICO
========================= */

.buy-subtitle {
  margin: -10px auto 22px;
  max-width: 480px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(242, 236, 217, 0.72);
}

/* Los tres pasos son informativos: sin estado activo */
.steps-flow { flex-wrap: wrap; }

.steps-flow li {
  color: rgba(242, 236, 217, 0.5);
  background: rgba(255, 244, 223, 0.03);
}

/* Opción de producto elegida */
.pick-btn.is-on {
  color: #fff4df;
  border-color: #de7a4d;
  background: rgba(207, 96, 48, 0.3);
  box-shadow: 0 6px 18px rgba(196, 87, 31, 0.28);
}

.pick-btn.is-on::before {
  content: "✓ ";
  color: #9ed98b;
}

/* Resumen de la compra, arriba del botón final */
.order-summary {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 244, 223, 0.05);
  border: 1px solid rgba(255, 244, 223, 0.14);
  text-align: center;
}

.order-summary[hidden] { display: none; }

.order-label {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 236, 217, 0.55);
}

.order-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff4df;
}

.order-price {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #de7a4d;
}

.order-email {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 244, 223, 0.1);
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(242, 236, 217, 0.65);
  word-break: break-word;
}

.order-email strong { color: #fff4df; font-weight: 700; }

.order-email.is-set { color: rgba(242, 236, 217, 0.8); }

/* Nota de seguridad y ayuda dentro del formulario */
.buy-card .pay-secure { margin: 14px auto 0; }
.buy-card .pay-help { text-align: center; }

/* =========================
   VISTA PREVIA · MINIATURAS (escritorio)
========================= */

.book-thumbs { display: none; }

.book-thumb {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.book-thumb-img {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 244, 223, 0.14);
  background: #14110d;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.book-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1310 / 1853;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.book-thumb-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(242, 236, 217, 0.5);
  transition: color 0.2s ease;
}

.book-thumb:hover .book-thumb-img { border-color: rgba(222, 122, 77, 0.6); transform: translateY(-2px); }
.book-thumb:hover .book-thumb-label { color: rgba(242, 236, 217, 0.8); }

.book-thumb.is-on .book-thumb-img {
  border-color: #de7a4d;
  box-shadow: 0 0 0 2px rgba(222, 122, 77, 0.28);
}

.book-thumb.is-on .book-thumb-label { color: #de7a4d; }

@media (min-width: 900px) {
  /* En computadora se ven las tres páginas a la vez: no hacen falta flechas */
  .book-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
  }

  .book-arrow { display: none; }
  .book-footer { display: none; }
}

@media (max-width: 560px) {
  .hero-authority { padding: 13px 16px; font-size: 13.5px; }
  .for-you { padding: 16px 16px 6px; }
  .notice-pro { padding: 16px 16px; font-size: 13px; }
  .buy-subtitle { margin-top: -6px; }
  .steps-flow { gap: 6px; }
  .steps-flow li { font-size: 11.5px; padding: 6px 11px; }
  .buy-picker { flex-direction: column; }
  .pick-btn { width: 100%; }
  .trust-row { gap: 6px 12px; }
}
