/* ============================================================
   La app a la venta (1-oct-2026): botones de tienda, llamada del
   hero, sección #app con capturas y el aviso de /checkout.
   ------------------------------------------------------------
   Archivo propio y no styles.css a propósito: subir el ?v= de
   styles.css obliga a tocar las 546 páginas. Lo cargan solo las
   dos portadas y las dos páginas de checkout.
   Las piezas viejas de la sección (.app-promo__inner, .instalar…)
   siguen en styles.css; aquí solo se añaden o se pisan.
   ============================================================ */

/* ---------- Botones de tienda: grandes, claros, del mismo peso ---------- */
.tiendas { display: flex; flex-wrap: wrap; gap: 12px; }
.tiendas--centro { justify-content: center; }
.tienda-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; min-width: 214px; max-width: 100%;
  padding: 10px 24px 10px 18px; border-radius: 16px;
  text-decoration: none; color: #1a1007;
  background: linear-gradient(135deg, #ffc68f 0%, #ffa04d 42%, #f97316 100%);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, .45), 0 12px 30px rgba(249, 115, 22, .22),
    inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.tienda-btn:hover { transform: translateY(-2px); filter: brightness(1.04);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, .6), 0 16px 36px rgba(249, 115, 22, .3),
    inset 0 1px 0 rgba(255, 255, 255, .4); }
.tienda-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.tienda-btn svg { width: 28px; height: 28px; flex: none; }
.tienda-btn > span { display: flex; flex-direction: column; text-align: left;
  font-family: var(--font-display, Georgia, serif); font-size: 20px; font-weight: 700;
  line-height: 1.1; letter-spacing: -.005em; }
.tienda-btn small { font-family: var(--font-sans, sans-serif); font-size: 10.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #4a2a0c; margin-bottom: 3px; }
/* Variante compacta (planes, checkout) */
.tiendas--compactas .tienda-btn { min-height: 52px; min-width: 196px; padding: 8px 20px 8px 15px; }
.tiendas--compactas .tienda-btn > span { font-size: 18px; }
.tiendas--compactas .tienda-btn svg { width: 24px; height: 24px; }
@media (max-width: 480px) {
  .tiendas { flex-direction: column; align-items: stretch; }
  .tienda-btn, .tiendas--compactas .tienda-btn { min-width: 0; width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tienda-btn, .tienda-btn:hover { transition: none; transform: none; }
}

/* ---------- Llamada del hero ---------- */
.hero-app {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 100%; margin-top: 26px; padding: 8px 18px 8px 8px; border-radius: 999px;
  border: 1px solid rgba(232, 150, 60, .45); background: rgba(232, 150, 60, .08);
  color: #f3ede3; font-size: 14.5px; line-height: 1.35; text-decoration: none;
  transition: border-color .18s, background .18s;
}
.hero-app:hover { border-color: rgba(255, 160, 77, .85); background: rgba(232, 150, 60, .14); }
.hero-app__sello { flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: .14em;
  color: #1a1007; background: #f97316; border-radius: 999px; padding: 4px 10px; }
.hero-app b { color: #ffa04d; font-weight: 700; }
@media (max-width: 480px) {
  .hero-app { flex-wrap: nowrap; justify-content: flex-start; text-align: left;
    border-radius: 16px; padding: 10px 14px 10px 10px; font-size: 14px; }
  .hero-app > span:nth-child(2) { flex: 1 1 auto; min-width: 0; }
}

/* ---------- La sección #app, hecha para vender ---------- */
.appv .app-promo__inner { display: block; padding: 60px 56px 52px; }
.appv__cabeza { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.appv .app-promo__title { font-size: clamp(34px, 5.4vw, 58px); margin-bottom: 18px; }
.appv .app-promo__desc { max-width: 60ch; margin: 0 auto 28px; }
.appv .tiendas { justify-content: center; }
.appv__micro { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  list-style: none; margin: 18px 0 0; padding: 0; font-size: 13px; color: #b3a99b; }
.appv__micro li::before { content: "✦"; color: #e8963c; font-size: 10px; margin-right: 7px; }

/* La tira de capturas: scroll-snap horizontal, sin librería */
.appv__tira { position: relative; z-index: 2; margin-top: 46px; }
.appv__tira-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 14px; }
.appv__h3 { font-family: var(--font-display, Georgia, serif); font-size: 22px; font-weight: 600;
  color: #f5ede2; margin: 0; }
.appv__flechas { display: flex; gap: 8px; }
.appv__flecha { width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #ffa04d; background: rgba(232, 150, 60, .08); border: 1px solid rgba(232, 150, 60, .4);
  font-size: 18px; line-height: 1; transition: background .18s, border-color .18s, opacity .18s; }
.appv__flecha:hover:not(:disabled) { background: rgba(232, 150, 60, .18); border-color: #f97316; }
.appv__flecha:disabled { opacity: .35; cursor: default; }
.appv__flecha[hidden] { display: none; }
.appv__pista {
  display: flex; gap: 16px; list-style: none; margin: 0 -56px; padding: 6px 56px 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding: 0 56px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(232, 150, 60, .45) transparent;
}
.appv__pista:focus-visible { outline: 2px solid #ffa04d; outline-offset: -2px; border-radius: 14px; }
.appv__pista::-webkit-scrollbar { height: 6px; }
.appv__pista::-webkit-scrollbar-thumb { background: rgba(232, 150, 60, .45); border-radius: 999px; }
.appv__pista > li { flex: 0 0 auto; width: 236px; scroll-snap-align: start; }
.appv__pista picture { display: block; }
.appv__pista img {
  display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298;
  border-radius: 22px; border: 1px solid rgba(232, 150, 60, .28); background: #1a120b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.appv__pista-nota { font-size: 12.5px; color: #8b8175; margin: 4px 0 0; text-align: center; }

/* Los puntos fuertes */
.appv__h3--puntos { position: relative; z-index: 2; margin-top: 44px; text-align: center; }
.appv__puntos { position: relative; z-index: 2; list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.appv__puntos li { padding: 16px 18px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .025); }
.appv__puntos b { display: block; font-size: 15.5px; color: #f3ede3; margin-bottom: 4px; }
.appv__puntos b::before { content: "✦"; color: #f97316; font-size: 11px; margin-right: 8px;
  vertical-align: 1px; }
.appv__puntos span { display: block; font-size: 13.5px; line-height: 1.5; color: #a99f92; }

/* El remate: segunda oportunidad de descargar */
.appv__cierre { position: relative; z-index: 2; margin-top: 40px; padding: 28px 24px;
  border-radius: 20px; text-align: center; border: 1px solid rgba(232, 150, 60, .3);
  background: radial-gradient(120% 120% at 50% 0%, rgba(249, 115, 22, .12), transparent 60%); }
.appv__cierre-t { font-family: var(--font-display, Georgia, serif); font-size: clamp(22px, 3vw, 30px);
  font-weight: 600; color: #f5ede2; margin: 0 0 18px; }
.appv__letra { font-size: 13px; line-height: 1.6; color: #a99f92; max-width: 64ch;
  margin: 18px auto 0; }

/* La web instalable queda como opción secundaria, plegada */
.appv .instalar { position: relative; z-index: 2; margin-top: 26px; }
.appv details.instalar > summary { cursor: pointer; list-style: none; text-align: center;
  font-size: 14px; color: #c8bfb2; padding: 6px 0; }
.appv details.instalar > summary::-webkit-details-marker { display: none; }
.appv details.instalar > summary::after { content: " +"; color: #e8963c; font-weight: 700; }
.appv details.instalar[open] > summary::after { content: " −"; }
.appv details.instalar > summary:hover { color: #fff; }
.appv details.instalar[open] > summary { margin-bottom: 14px; }

@media (max-width: 960px) {
  .appv__puntos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .appv .app-promo__inner { padding: 40px 22px 36px; }
  .appv__pista { margin: 0 -22px; padding: 6px 22px 18px; scroll-padding: 0 22px; gap: 12px; }
  .appv__pista > li { width: min(62vw, 230px); }
  .appv__h3 { font-size: 19px; }
  .appv__tira-cab .appv__h3 { text-align: left; }
  .appv__puntos { grid-template-columns: 1fr; gap: 8px; }
  .appv__puntos li { padding: 12px 14px; }
  .appv__puntos b { font-size: 15px; margin-bottom: 2px; }
  .appv__cierre { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .appv__pista { scroll-behavior: auto; }
}

/* ---------- /checkout: los pagos en la web, en pausa ---------- */
.co-pausa { max-width: 640px; margin: 0 auto; padding: 108px 22px 64px; }
.co-pausa__sello { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #ffb066; border: 1px solid rgba(232, 150, 60, .45);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.co-pausa h1 { font-family: var(--font-display, Georgia, serif); font-weight: 600;
  font-size: clamp(30px, 6vw, 44px); line-height: 1.08; margin: 0 0 14px; color: #f5ede2; }
.co-pausa h1 em { font-style: italic; color: #ffa04d; }
.co-pausa__lede { font-size: 16px; line-height: 1.65; color: #c8bfb2; margin: 0 0 26px; }
.co-pausa .tiendas { margin-bottom: 30px; }
.co-pausa__caja { border: 1px solid rgba(232, 150, 60, .35); border-radius: 18px; padding: 22px 22px 18px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(249, 115, 22, .07), transparent 60%),
    linear-gradient(180deg, #171310, #100d0a); }
.co-pausa__caja h2 { font-family: var(--font-display, Georgia, serif); font-size: 19px; font-weight: 600;
  color: #f3ede3; margin: 0 0 6px; }
.co-pausa__precio { font-size: 15px; color: #d9d2c5; margin: 0 0 10px; }
.co-pausa__precio b { color: #ffa04d; font-variant-numeric: tabular-nums; }
.co-pausa__caja p { font-size: 13.5px; line-height: 1.6; color: #a99f92; margin: 8px 0 0; }
.co-pausa__caja a, .co-pausa__extra a { color: #ffa04d; text-decoration: underline; text-underline-offset: 3px; }
.co-pausa__extra { margin-top: 22px; display: grid; gap: 10px; }
.co-pausa__extra p { font-size: 13.5px; line-height: 1.6; color: #a99f92; margin: 0; }
.co-pausa__extra b { color: #e8e1d5; }
@media (max-width: 560px) {
  .co-pausa { padding: 92px 16px 44px; }
}
