/* ==========================================================================
   Recursos Worship — RW Presenter · versión B (landing estática)
   --------------------------------------------------------------------------
   Se carga después de styles.css y nav.css y solo añade lo propio de esta
   página (prefijo pb-). Material real de /rw-presenter/ en assets/presenter-b/.
   1. Hero (titular + ventana de la app)
   2. Franja oscura: salidas, tira e intro
   3. Funciones (lista + captura que se funde)
   4. Capas y escenas (superficie que se expande)
   5. Y todo lo demás (bento + herramientas)
   6. Plantillas de RW Titler (explorador)
   7. Importar (logos que se desplazan + detalle)
   8. Generador de fondos
   9. Precios (resumen)
   10. Responsive y movimiento reducido
   ========================================================================== */

/* Acento celeste + azul (los azules de la landing real de RW Presenter: #2655ff y degradado #295BFF → #65DAFF).
   Los tokens morados de styles.css y nav.css se redefinen en <body>, así que el menú y los componentes los heredan. */
.pb-page {
  --accent: #2655ff;
  --accent-hover: #1b44e0;
  --accent-soft: #e6f1ff;
  --accent-soft-2: #c9e3ff;
  --accent-ink: #1740c9;
  --accent-deep: #04193f;
  --accent-fg: #2655ff;
  --nav-accent: #2655ff;
  --nav-accent-hover: #1b44e0;
  --nav-accent-fg: #2655ff;
  --pb-night: #020d22;   /* franja oscura y superficie de Capas (azul noche en vez del morado de la home) */
  --pb-sky: #79d7f7;     /* celeste para detalles sobre fondos oscuros */
}
:root[data-theme="dark"] .pb-page {
  --accent: #2b6bff;
  --accent-hover: #4f8bff;
  --accent-fg: #65daff;
  --accent-soft: rgba(56, 160, 255, 0.16);
  --accent-soft-2: rgba(56, 160, 255, 0.28);
  --accent-ink: #9edcff;
  --nav-accent: #2b6bff;
  --nav-accent-hover: #4f8bff;
  --nav-accent-fg: #65daff;
}
.pb-page .text-gradient, :root[data-theme="dark"] .pb-page .text-gradient {
  background-image: linear-gradient(100deg, #295bff 0%, #2f8bff 30%, #65daff 55%, #3aa0ff 78%, #295bff 100%);
}
/* Titular del hero: degradado azul marino → azul (claro) y azul brillante → celeste pálido (oscuro), con la deriva de .text-gradient */
.pb-grad {
  background: linear-gradient(100deg, #06113b 0%, #0a2a8a 35%, #1f6bff 70%, #06113b 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradientDrift 9s ease-in-out infinite alternate;
}
:root[data-theme="dark"] .pb-grad { background-image: linear-gradient(100deg, #4f93ff 0%, #7ab8ff 35%, #9edcff 70%, #4f93ff 100%); }
@media (prefers-reduced-motion: reduce) { .pb-grad { animation: none; } }

/* Botones principales con degradado azul → celeste (pedido explícito del usuario; tramo final oscurecido para que
   el texto blanco mantenga contraste). Hover: el mismo degradado más oscuro. Sin sombras. */
.pb-page .btn-primary, .pb-page .nav-signup, .pb-page .nav-pill {
  background: linear-gradient(100deg, #1f5bff 0%, #0b78e3 55%, #087fa6 100%);
  color: #fff;
}
.pb-page .btn-primary:hover, .pb-page .nav-signup:hover, .pb-page .nav-pill:hover {
  background: linear-gradient(100deg, #1849d9 0%, #0965c2 55%, #066a8c 100%);
}

/* Menú azul #08307d en vez de negro en modo claro, el mismo color sólido arriba y en sticky (sin la
   transparencia de .is-scrolled, que lo aclaraba sobre el contenido). En oscuro la barra de nav.css es blanca y se queda así. */
:root:not([data-theme="dark"]) .pb-page .rw-nav { --nav-bg: #08307d; --nav-bg-scrolled: #08307d; }
/* El vidrio del sticky (blur + saturate 150 %) aclaraba el azul: sin él, el color es idéntico en los dos estados */
:root:not([data-theme="dark"]) .pb-page .rw-nav-glass { display: none; }

.pb-page .hero-shell { background: var(--pb-night); }
.pb-page .rm-card { background: var(--accent-deep); }
.pb-page .rm-card:hover { background: #072556; }

/* Los anclajes no quedan debajo de la barra fija */
.pb-page [id] { scroll-margin-top: 96px; }
.pb-mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.pb-inline-link { color: var(--accent-fg); font-weight: 560; text-decoration: underline; text-underline-offset: 3px; }

/* 1. Hero ---------------------------------------------------------------- */
.hero.pb-hero {
  display: block;
  min-height: 0;
  padding: 132px 0 0;
}
.pb-hero .hero-content { margin-inline: auto; }
.pb-badge { transition: background-color var(--t-ui) var(--ease-ui); }
.pb-badge:hover { background: var(--panel); }
.pb-badge img { width: 22px; height: 22px; flex: none; }

/* Ventana del navegador con la app real (borde de 1 px, sin sombra) */
.pb-window {
  position: relative;
  width: min(100% - 2 * var(--gutter), 1240px);
  margin: clamp(48px, 5.5vw, 88px) auto 0;
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #101014;
}
.pb-window-bar {
  display: flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 14px;
  background: #18181c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pb-window-bar i { width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); flex: none; }
.pb-window-url {
  margin: 0 auto; padding: 4px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: rgba(255, 255, 255, 0.62);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.pb-window-shot { height: clamp(220px, 44vw, 700px); }
.pb-window-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

/* 2. Franja oscura ---------------------------------------------------------- */
.pb-works .works-list .ico { color: currentColor; }

/* Tira: tarjetas 16:9 (salidas y plantillas reales) */
.pb-strip .s-card { width: 384px; }
.pb-strip .s-media { height: 216px; }

/* Intro: panel con esquinas superiores redondeadas sobre la franja */
.pb-intro {
  padding: clamp(72px, 8vw, 128px) 0 var(--space-md);
  background: var(--panel);
  border-radius: var(--r-hero) var(--r-hero) 0 0;
}
.pb-statement { max-width: 25em; }
.pb-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); }
/* Como la franja «proof» de la página real: icono de 50 px en el color del texto, sin fondo, centrado sobre el título */
.pb-key { display: grid; justify-items: center; gap: 8px; align-content: start; padding: 34px 28px 38px; text-align: center; }
.pb-key + .pb-key { border-left: 1px solid var(--line-2); }
.pb-key-ico { display: block; margin-bottom: 9px; color: var(--ink); }
.pb-key-ico .ico { width: 50px; height: 50px; }
.pb-key h3 { font-size: 19px; font-weight: 620; letter-spacing: -0.015em; }
.pb-key p { color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 34ch; }

/* 3. Funciones ------------------------------------------------------------ */
.pb-feats .cat-body p { padding-bottom: 6px; }
.pb-feats .cat-body .pb-feat-lead { color: var(--ink); font-weight: 560; }
.pb-ticks { display: grid; gap: 8px; padding: 6px 0 24px 36px; }
.pb-ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 48ch; }
/* Check con el degradado celeste-azul del SVG real (#00cbff → #004cff): imagen de fondo, no máscara */
.pb-ticks .ico { width: 19.8px; height: 19.8px; margin-top: 1px; -webkit-mask: none; mask: none; background: url(/wp-content/plugins/recursos-worship-core/src/Modules/ThemeCanvas/site/assets/icons/presenter/icons__local-media__check.svg) center / contain no-repeat; }

/* Acordeón de funciones: solo se abre con clic, Enter o Espacio; flecha a la derecha que gira al abrir */
.pb-feats .cat-btn { padding-right: 2px; }
.pb-chev { position: relative; width: 32px; height: 32px; margin-left: auto; flex: none; border-radius: 999px; background: var(--fill); color: var(--ink-2); transition: background-color var(--t-ui) var(--ease-ui), transform 0.45s var(--ease-quint); }
.pb-chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -5px 0 0 -3.5px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.pb-feats .cat-btn:hover .pb-chev { background: var(--fill-hover); }
.pb-feats .cat-item.is-active .pb-chev { transform: rotate(180deg); background: var(--accent-soft); color: var(--accent-fg); }
.pb-feat-preview { aspect-ratio: 16 / 11; }
@media (min-width: 901px) { .pb-feat-preview { top: 104px; } }
.pb-feat-preview .cat-mosaic { margin: 0; grid-template-columns: 1fr; grid-template-rows: 1fr; border-radius: 16px; overflow: hidden; background: #101014; }
.pb-feat-preview .cat-mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.pb-feat-preview figcaption {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: #141414; font-size: 12.5px; font-weight: 600;
}

/* 4. Capas y escenas ---------------------------------------------------------- */
.pb-capas { padding-top: var(--space-md); }
.pb-chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pb-capas-surface { padding: clamp(18px, 3vw, 44px) clamp(14px, 2.6vw, 40px) 0; background: var(--pb-night); color: #fff; }
.pb-capas-inner { max-width: 1760px; margin-inline: auto; }
.pb-capas-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; padding: 6px 6px clamp(22px, 2.6vw, 36px); }
.pb-capas-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.68); }
.pb-capas-points strong { color: #fff; font-weight: 600; }
.pb-capas-points .ico { width: 20px; height: 20px; color: var(--pb-sky); margin-top: 1px; }
.pb-capas-shot { height: clamp(260px, 40vw, 680px); border-radius: 18px 18px 0 0; overflow: hidden; background: #101014; }
.pb-capas-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

/* 5. Y todo lo demás --------------------------------------------------------- */
.pb-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.pb-tile { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--surface); overflow: hidden; transition: background-color 0.3s var(--ease-ui); }
.pb-tile:hover { background: var(--surface-2); }
.pb-tile-7 { grid-column: span 7; }
.pb-tile-5 { grid-column: span 5; }
.pb-tile-copy { display: grid; gap: 12px; padding: clamp(24px, 2.4vw, 36px); }
.pb-tile-copy .row { display: flex; align-items: center; gap: 12px; }
.pb-tile-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.5; max-width: 48ch; }
.pb-tile-shot { margin: auto 0 0 clamp(24px, 2.4vw, 36px); height: clamp(220px, 23vw, 380px); border-radius: 16px 0 0 0; overflow: hidden; background: #101014; }
.pb-tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

.pb-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(12px, 1.2vw, 18px); }
.pb-tool { display: grid; gap: 8px; justify-items: center; align-content: start; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); text-align: center; transition: background-color 0.3s var(--ease-ui); }
.pb-tool:hover { background: var(--surface-2); }
/* Iconos sin fondo en el color del texto (como .tool / .proof de la página real) */
.pb-tool-ico { display: block; flex: none; color: var(--ink); }
.pb-tool-ico .ico { width: 30px; height: 30px; }
.pb-tool .pb-tool-ico { margin-bottom: 9px; }
.pb-tool .pb-tool-ico .ico { width: 50px; height: 50px; }
.pb-tool h3 { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 17px; font-weight: 620; letter-spacing: -0.015em; }
.pb-tool p { color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 30ch; }
.pb-tool code { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--fill); color: var(--ink-2); }
.pb-vip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 11px; font-weight: 650; letter-spacing: 0.04em; }

/* 6. Plantillas de RW Titler -------------------------------------------------- */
.pb-tpl-copy { display: grid; gap: 14px; }
.pb-tpl .c-media { aspect-ratio: 16 / 9; background: #101014; }
.pb-tpl .text-tab[aria-pressed="true"] { color: var(--ink); background: var(--fill); }
.pb-tpl-actions { display: flex; align-items: center; gap: 20px; }

/* 7. Importar ------------------------------------------------------------------ */
/* Las filas se desvanecen en los bordes con una máscara (no una capa de color: sirve en claro y oscuro) */
.pb-apps {
  display: grid; gap: 14px; overflow: hidden; padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
.pb-marquee { display: flex; width: max-content; animation: stripMove var(--dur, 46s) linear infinite; }
.pb-marquee.is-rev { animation-direction: reverse; }
.pb-apps:hover .pb-marquee, .pb-apps:focus-within .pb-marquee { animation-play-state: paused; }
.pb-marquee-list { display: flex; flex-shrink: 0; gap: 14px; padding-right: 14px; }
.pb-app {
  width: 84px; height: 84px; flex: none;
  border-radius: 24px; background: var(--surface);
  display: grid; place-items: center;
  transition: background-color var(--t-ui) var(--ease-ui), box-shadow var(--t-ui) var(--ease-ui);
}
.pb-app img { width: 48px; height: 48px; border-radius: 12px; }
.pb-app:hover { background: var(--surface-2); }
.pb-app[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }

.pb-import-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(32px, 4vw, 56px); }
.pb-app-card { display: grid; align-content: start; gap: 18px; padding: clamp(24px, 2.6vw, 40px); border-radius: var(--r-xl); background: var(--surface); }
.pb-app-top { display: flex; align-items: center; gap: 16px; }
.pb-app-top img { width: 64px; height: 64px; flex: none; border-radius: 16px; }
.pb-app-top h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 620; letter-spacing: -0.025em; line-height: 1.1; }
.pb-path { margin-top: 4px; font-size: 14px; color: var(--muted); }
.pb-app-help { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; min-height: 3em; }
.pb-ext { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-app-card.is-swap .pb-app-top, .pb-app-card.is-swap .pb-app-help, .pb-app-card.is-swap .pb-ext { animation: supportingReveal 0.5s var(--ease-quint) both; }
.pb-also { display: grid; gap: 12px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.pb-also-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pb-import-shot { border-radius: var(--r-xl); overflow: hidden; background: #101014; min-height: 320px; }
.pb-import-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }

/* 8. Generador de fondos ---------------------------------------------------- */
.pb-gen-lead { max-width: 46ch; }
.pb-gen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(12px, 1.2vw, 18px); align-items: start; }
.pb-stage {
  --hue: 0deg; --sat: 1; --bri: 1; --blur: 0px; --zoom: 1; --grain: 0;
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: #0d0d10;
}
.pb-stage-media { position: absolute; inset: 0; }
.pb-stage-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.7s var(--ease-quint);
  filter: hue-rotate(var(--hue)) saturate(var(--sat)) brightness(var(--bri)) blur(var(--blur));
  transform: scale(var(--zoom));
}
.pb-stage-media video.is-active { opacity: 1; }
/* Grano: ruido SVG en escala de grises fundido sobre el fondo */
.pb-stage-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.pb-stage-text {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-content: center; padding: 8%;
  text-align: center; color: #fff;
  font-size: clamp(18px, 2.5vw, 40px); font-weight: 650; line-height: 1.2; letter-spacing: -0.02em;
}
.pb-stage-text[data-tone="dark"] { color: #141414; }
.pb-stage-text[hidden] { display: none; }
.pb-stage-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.94); color: #5c5c62; font-size: 12.5px; font-weight: 500;
}
.pb-stage-tag strong { color: #141414; font-weight: 650; }

.pb-gen-panel { display: grid; gap: 22px; padding: clamp(20px, 2vw, 26px); border-radius: var(--r-xl); background: var(--surface); }
.pb-gen-set { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pb-gen-label { padding: 0; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pb-gen-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.pb-gen-opt { display: grid; gap: 6px; padding: 5px 5px 8px; border-radius: 14px; background: var(--panel); font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: box-shadow var(--t-ui) var(--ease-ui); }
.pb-gen-opt img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.pb-gen-opt[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--accent); color: var(--ink); }
.pb-swatches { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.pb-swatches span { width: 20px; height: 20px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.pb-swatches small { margin-left: 6px; font-size: 12.5px; color: var(--muted); }

.pb-range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.pb-range output { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--muted); }
.pb-range input { grid-column: 1 / -1; }
/* Rango plano: pista de 4 px con la parte recorrida en el acento */
.pb-range input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer;
}
.pb-range input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(to right, var(--accent) var(--p), var(--fill-hover) var(--p)); }
.pb-range input[type="range"]::-moz-range-track { height: 4px; border-radius: 99px; background: var(--fill-hover); }
.pb-range input[type="range"]::-moz-range-progress { height: 4px; border-radius: 99px; background: var(--accent); }
.pb-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 99px; background: var(--accent); border: 0; }
.pb-range input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 99px; background: var(--accent); border: 0; }

.pb-gen-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pb-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 560; color: var(--ink-2); }
.pb-switch > span { position: relative; width: 38px; height: 22px; border-radius: 99px; background: var(--fill-hover); transition: background-color var(--t-ui) var(--ease-ui); }
.pb-switch > span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 99px; background: #fff; transition: transform 0.25s var(--ease-quint); }
.pb-switch[aria-checked="true"] > span { background: var(--accent); }
.pb-switch[aria-checked="true"] > span::after { transform: translateX(16px); }
.pb-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--fill); }
.pb-seg button { height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background-color var(--t-ui), color var(--t-ui); }
.pb-seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); }
.pb-gen-actions { display: flex; gap: 8px; }
.pb-gen-actions .btn { flex: 1 1 0; }
.pb-gen-note { margin-top: 18px; max-width: 72ch; }

/* 9. Precios (resumen) ------------------------------------------------------- */
.pb-billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--fill); }
.pb-billing button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background-color var(--t-ui), color var(--t-ui); }
.pb-billing button[aria-pressed="true"] { background: var(--panel); color: var(--ink); }
.pb-off { font-size: 12px; font-weight: 650; color: var(--accent-fg); }

.pb-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.pb-plan { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2vw, 30px); border-radius: var(--r-xl); background: var(--surface); }
.pb-plan h3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; font-size: 19px; font-weight: 620; letter-spacing: -0.015em; }
.pb-popular { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 12px; font-weight: 600; color: #fff; }
.pb-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.pb-price strong { font-size: clamp(40px, 3.4vw, 52px); font-weight: 650; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.pb-price > span { font-size: 15px; color: var(--muted); }
.pb-price s { align-self: center; font-size: 16px; color: var(--muted-2); }
.pb-price s:empty { display: none; }
.pb-plans.is-swap .pb-price, .pb-plans.is-swap .pb-bill { animation: supportingReveal 0.5s var(--ease-quint) both; }
.pb-bill { margin-top: -6px; font-size: 13.5px; color: var(--muted); }
.pb-plan-desc { min-height: 4.5em; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.pb-plan .btn { width: 100%; }
.pb-plan-list { display: grid; gap: 10px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.pb-plan-list li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.pb-plan-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 19.8px; height: 19.8px; background: url(/wp-content/plugins/recursos-worship-core/src/Modules/ThemeCanvas/site/assets/icons/presenter/icons__local-media__check.svg) center / contain no-repeat; }
.pb-plan-list .pb-plan-all { padding-left: 0; font-weight: 600; color: var(--ink); }
.pb-plan-list .pb-plan-all::before { display: none; }

/* Plan destacado: superficie morada profunda */
.pb-plan.is-popular { background: var(--accent-deep); color: #fff; }
.pb-plan.is-popular .pb-price > span, .pb-plan.is-popular .pb-bill { color: rgba(255, 255, 255, 0.66); }
.pb-plan.is-popular .pb-price s { color: rgba(255, 255, 255, 0.5); }
.pb-plan.is-popular .pb-plan-desc, .pb-plan.is-popular .pb-plan-list li { color: rgba(255, 255, 255, 0.8); }
.pb-plan.is-popular .pb-plan-list { border-top-color: rgba(255, 255, 255, 0.16); }
.pb-plan.is-popular .pb-plan-list .pb-plan-all { color: #fff; }

.pb-pricing-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px;
  margin-top: clamp(12px, 1.2vw, 18px);
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
}
.pb-pricing-foot h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 620; letter-spacing: -0.02em; }
.pb-pricing-foot p { margin-top: 6px; color: var(--muted); font-size: 16px; max-width: 60ch; }

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
  .pb-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pb-gen-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 960px) {
  .pb-gen-grid { grid-template-columns: 1fr; }
  .pb-gen-panel { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
  .pb-gen-panel > div:first-child, .pb-gen-actions { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero.pb-hero { padding: 120px 0 0; }
  .pb-strip .s-card { width: 288px; }
  .pb-strip .s-media { height: 162px; }
  .pb-keys { grid-template-columns: 1fr; border-top: 0; }
  .pb-key, .pb-key + .pb-key { padding: 30px 0 34px; border-left: 0; border-top: 1px solid var(--line-2); }
  .pb-feat-preview { aspect-ratio: 16 / 11; }
  .pb-capas-points { grid-template-columns: 1fr; gap: 12px; }
  .pb-tile-7, .pb-tile-5 { grid-column: span 12; }
  .pb-import-grid { grid-template-columns: 1fr; }
  .pb-import-shot { min-height: 0; aspect-ratio: 2000 / 1322; }
  .pb-plan-desc { min-height: 0; }
}
@media (max-width: 640px) {
  .pb-gen-panel { grid-template-columns: 1fr; }
  .pb-tpl-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 560px) {
  .hero.pb-hero { padding: 104px 0 0; min-height: 0; }
  .pb-window { margin-top: 44px; border-radius: 14px 14px 0 0; }
  .pb-window-bar { height: 32px; padding: 0 10px; gap: 5px; }
  .pb-window-bar i { width: 8px; height: 8px; }
  .pb-window-url { font-size: 11px; padding: 3px 10px; }
  .pb-window-shot { height: 230px; }
  .pb-badge { gap: 8px; }
  .pb-plans, .pb-tools { grid-template-columns: 1fr; }
  .pb-tile-shot { height: 200px; }
  .pb-app { width: 68px; height: 68px; border-radius: 20px; }
  .pb-app img { width: 40px; height: 40px; }
  .pb-capas-shot { height: 300px; }
  .pb-billing { width: 100%; }
  .pb-billing button { flex: 1 1 0; justify-content: center; padding: 0 12px; }
  .pb-pricing-foot .btn { width: 100%; }
  .pb-stage-tag { left: 10px; bottom: 10px; height: 26px; font-size: 11.5px; }
}

/* Movimiento reducido: los logos quedan quietos y sin copias */
@media (prefers-reduced-motion: reduce) {
  .pb-marquee { animation: none; width: auto; justify-content: center; padding-inline: var(--gutter); }
  .pb-marquee-list { flex: 0 1 auto; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .pb-marquee-list[data-copy="1"], .pb-marquee-list [aria-hidden="true"], .pb-marquee.is-rev { display: none; }
}
