/* ==========================================================================
   Recursos Worship — Plan RW VIP Director · landing (2026)
   Se carga después de css/styles.css y css/nav.css (mismo sistema que la home);
   aquí solo va lo propio de esta página (prefijo pd-). Todo plano: sin sombras,
   glows ni degradados (salvo el texto del titular, que viene de styles.css).
   --------------------------------------------------------------------------
   1. Base de la página
   2. Selector de plan (pill segmentado, compartido con Básico y Profesional)
   3. Hero
   4. Tira de material real
   5. Qué incluye (pestañas por producto)
   6. Solo en Director (bento)
   7. Superficie y «para quién es»
   8. Precios
   9. Comparativa
   10. Responsive
   11. Movimiento reducido
   ========================================================================== */

/* 1. Base ------------------------------------------------------------------ */
.pd-page { --pd-dir-deep: var(--accent-deep); }
.pd-page section[id] { scroll-margin-top: 96px; }
.pd-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Imágenes con carga diferida: reservan su espacio y se funden al llegar */
.pd-page img[data-src]:not([src]) { visibility: hidden; }

/* Iconos de producto: en oscuro (y sobre la tarjeta morada) van en un cuadro blanco para que el
   rombo oscuro de RW Titler no se pierda */
:root[data-theme="dark"] .pd-tab img,
:root[data-theme="dark"] .pd-plan-products img,
:root[data-theme="dark"] .pd-row-prod img,
:root[data-theme="dark"] .pd-group th img,
:root[data-theme="dark"] .pd-who-ico img,
.pd-plan.is-featured .pd-plan-products img { background: #fff; border-radius: 28%; padding: 2px; }
:root[data-theme="dark"] .pd-panel-brand .product-ico { background: #fff; border-radius: 28%; padding: 5px; }

/* 2. Selector de plan ------------------------------------------------------ */
.pd-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--fill); }
.pd-switch a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: background-color var(--t-ui), color var(--t-ui);
}
.pd-switch a:hover { color: var(--ink); }
.pd-switch a[aria-current="page"] { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .pd-switch a[aria-current="page"] { background: var(--surface-2); }

/* 3. Hero ------------------------------------------------------------------ */
.pd-page .hero { min-height: clamp(640px, 88svh, 900px); }
.pd-hero .hero-content { gap: 24px; }
.pd-hero .hero-title { max-width: 20ch; }
.pd-hero .hero-sub { max-width: 52ch; }
.pd-hero-price { display: grid; justify-items: center; gap: 6px; }
.pd-hero-price p { display: flex; align-items: baseline; gap: 10px; }
.pd-hero-price s { font-size: 18px; font-weight: 500; color: var(--muted-2); }
.pd-hero-price strong { font-size: clamp(40px, 3.6vw, 56px); font-weight: 650; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pd-hero-price span { font-size: 16px; color: var(--muted); }
.pd-hero-price small { font-size: 14px; color: var(--muted); }

/* Productos incluidos (franja oscura, mismo patrón que «Funciona con») */
.pd-works .works-list img { width: 22px; height: 22px; }

/* 4. Tira ------------------------------------------------------------------ */
.pd-strip .s-card { width: 352px; }
.pd-strip .s-media { height: 198px; background: #111; }
.pd-strip .s-media.is-title { background: #0f0f12; }
.pd-strip .s-media.is-title video { object-fit: contain; }
.pd-strip .s-chip.is-dir { background: var(--accent); color: #fff; }

/* 5. Qué incluye (pestañas) ------------------------------------------------ */
.pd-include { padding-bottom: var(--space-md); }
.pd-exclusive { padding-top: var(--space-lg); }
.pd-tabs-wrap { margin-bottom: clamp(18px, 2vw, 28px); }
.pd-tabs {
  display: inline-flex; gap: 4px; padding: 5px; max-width: 100%;
  border-radius: 999px; background: var(--fill);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  height: 44px; padding: 0 18px 0 12px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color var(--t-ui), color var(--t-ui);
}
.pd-tab img { width: 22px; height: 22px; flex: none; opacity: 0.55; filter: grayscale(1); transition: opacity var(--t-ui), filter var(--t-ui); }
.pd-tab:hover { color: var(--ink); }
.pd-tab:hover img { opacity: 0.85; }
.pd-tab[aria-selected="true"] { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .pd-tab[aria-selected="true"] { background: var(--surface-2); }
.pd-tab[aria-selected="true"] img { opacity: 1; filter: none; }
.pd-tab-ai { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--fill-hover); color: var(--muted); }
.pd-tab[aria-selected="true"] .pd-tab-ai { background: var(--accent); color: #fff; }

.pd-panels { position: relative; }
.pd-panel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding: clamp(22px, 2.6vw, 40px);
  border-radius: var(--r-xl);
  background: var(--surface);
}
.pd-panel + .pd-panel { margin-top: 18px; }
.js .pd-panel[hidden] { display: none; }
.js .pd-panel + .pd-panel { margin-top: 0; }
.pd-panel:focus-visible { outline-offset: 4px; border-radius: var(--r-xl); }
.pd-panel.is-swap .pd-panel-copy > *, .pd-panel.is-swap .pd-panel-media { animation: supportingReveal 0.7s var(--ease-quint) both; }
.pd-panel.is-swap .pd-panel-copy > * { animation-delay: calc(var(--d, 0) * 50ms); }
.pd-panel-copy { display: grid; gap: 20px; align-content: start; }
.pd-panel-copy > :nth-child(2) { --d: 1; }
.pd-panel-copy > :nth-child(3) { --d: 2; }
.pd-panel-copy > :nth-child(4) { --d: 3; }
.pd-panel-copy > :nth-child(5) { --d: 4; }
.pd-panel-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.pd-panel-brand .chip { margin-left: auto; }
.pd-ai-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--accent); color: #fff; flex: none; }
.pd-ai-ico .ico { width: 20px; height: 20px; }
.pd-panel-lead { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 52ch; }
.pd-panel-lead strong { color: var(--ink); font-weight: 560; }

/* Profesional → Director */
.pd-deltas { display: grid; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.pd-deltas-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.pd-deltas dl { display: grid; gap: 8px; margin: 0; }
.pd-deltas dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pd-deltas dt { font-size: 15px; color: var(--ink-2); }
.pd-deltas dd { margin: 0; display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-from { font-size: 14px; color: var(--muted-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.pd-to { font-size: 16px; font-weight: 650; color: var(--accent-fg); letter-spacing: -0.01em; }
.pd-to::before { content: "→"; margin-right: 8px; font-weight: 500; color: var(--muted-2); }

/* Lista con etiqueta de nivel */
.pd-feats { display: grid; gap: 2px; }
.pd-feats li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.35; color: var(--ink-2); }
.pd-feats li:last-child { border-bottom: 1px solid var(--line); }
.pd-feats .ico { color: var(--accent-fg); }
.pd-tag { font-style: normal; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--fill); font-size: 12px; font-weight: 560; color: var(--muted); white-space: nowrap; }
.pd-tag.is-dir { background: var(--accent-soft); color: var(--accent-ink); }

.pd-panel-media { margin: 0; display: grid; gap: 14px; }
.pd-panel-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 18px; background: #0d0d10; box-shadow: inset 0 0 0 1px var(--line); }
.pd-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-stats span { display: inline-flex; align-items: baseline; gap: 5px; height: 30px; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--panel); font-size: 13px; color: var(--muted); }
.pd-stats b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

/* 6. Solo en Director (bento) ---------------------------------------------- */
.pd-exclusive .head-split { align-items: flex-end; }
.pd-statement { max-width: 34ch; }
.pd-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.pd-x {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(22px, 2.4vw, 36px);
  border-radius: var(--r-xl); background: var(--surface);
  overflow: hidden; isolation: isolate;
  transition: background-color 0.3s var(--ease-ui);
}
.pd-x-12 { grid-column: span 12; }
.pd-x-7 { grid-column: span 7; }
.pd-x-6 { grid-column: span 6; }
.pd-x-5 { grid-column: span 5; }
.pd-x-4 { grid-column: span 4; }
.pd-x-copy { display: grid; gap: 10px; justify-items: start; }
.pd-x-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.45; max-width: 46ch; }
.pd-x-copy-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.pd-x-copy-row > div { display: grid; gap: 10px; justify-items: start; }

/* 4K: la imagen gana nitidez mientras la calidad sube de 720p a 4K */
.pd-4k { position: relative; margin-top: auto; display: grid; gap: 12px; }
.pd-4k-shot { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0000fe; }
.pd-4k-shot img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.7s var(--ease-quint), transform 0.9s var(--ease-quint); }
.pd-4k[data-q="0"] .pd-4k-shot img { filter: blur(3px); transform: scale(1.02); }
.pd-4k[data-q="1"] .pd-4k-shot img { filter: blur(1.2px); transform: scale(1.01); }
.pd-quality {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(15, 15, 18, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pd-quality span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.66); font-variant-numeric: tabular-nums; transition: background-color 0.35s var(--ease-ui), color 0.35s var(--ease-ui); }
.pd-quality i { font-style: normal; height: 18px; display: inline-flex; align-items: center; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; }
.pd-4k[data-q="0"] .pd-quality span:nth-child(1),
.pd-4k[data-q="1"] .pd-quality span:nth-child(2),
.pd-4k[data-q="2"] .pd-quality span:nth-child(3) { background: #fff; color: #141414; }
.pd-4k-caption { font-size: 13.5px; font-weight: 560; color: var(--muted); }
.pd-4k-caption:hover { color: var(--ink); }

/* Descargas ilimitadas */
.pd-dl { margin-top: auto; display: grid; gap: 18px; }
.pd-dl-big { font-size: clamp(110px, 12vw, 200px); font-weight: 500; line-height: 0.8; letter-spacing: -0.04em; color: var(--accent-fg); }
.pd-dl-list { display: grid; }
.pd-dl-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.pd-dl-list b { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.pd-dl-list li.is-dir span { color: var(--ink); font-weight: 560; }
.pd-dl-list li.is-dir b { color: var(--accent-fg); }

/* 5 kits por mes (reutiliza .kit de la home) */
.pd-kits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.pd-kit .kit-media { background: var(--surface-2); }
.pd-kit .kit-info h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-kit .kit-info span { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted-2); }
.js .pd-kits .pd-kit { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 0.7s var(--ease-quint), transform 0.7s var(--ease-quint), filter 0.7s var(--ease-quint); transition-delay: calc(var(--n, 0) * 80ms); }
.js .pd-kits.is-live .pd-kit { opacity: 1; transform: none; filter: none; }

/* RW Presenter: 7 pantallas */
.pd-screens { margin-top: auto; display: grid; gap: 14px; }
.pd-screen-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pd-screen-row li { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 8px; border-radius: 14px; background: var(--panel); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.pd-screen-row .ico { width: 26px; height: 26px; }
.pd-screen-row small { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11.5px; color: var(--muted-2); }
.pd-screen-row li.is-dir { background: var(--accent-soft); color: var(--accent-fg); box-shadow: none; }
.pd-screen-row li.is-dir small { color: var(--accent-ink); }
.js .pd-screens .pd-screen-row li { opacity: 0.25; transform: translateY(6px); transition: opacity 0.45s var(--ease-quint), transform 0.45s var(--ease-quint); }
.js .pd-screens.is-live .pd-screen-row li { opacity: 1; transform: none; }
.pd-screen-row li:nth-child(2) { transition-delay: 0.08s !important; }
.pd-screen-row li:nth-child(3) { transition-delay: 0.16s !important; }
.pd-screen-row li:nth-child(4) { transition-delay: 0.24s !important; }
.pd-screen-row li:nth-child(5) { transition-delay: 0.32s !important; }
.pd-screen-row li:nth-child(6) { transition-delay: 0.62s !important; }
.pd-screen-row li:nth-child(7) { transition-delay: 0.74s !important; }
.pd-screen-legend { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 560; color: var(--muted); }
.pd-screen-legend .is-dir { color: var(--accent-fg); }
.pd-screen-shot { aspect-ratio: 2000 / 900; border-radius: 16px; overflow: hidden; background: #0b0f17; }
.pd-screen-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* RW Titler: 5 salidas */
.pd-outputs { margin-top: auto; display: grid; gap: 14px; }
.pd-out-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0f0f12; }
.pd-out-stage video { width: 100%; height: 100%; object-fit: cover; }
.pd-out-live { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #141414; font-size: 12px; font-weight: 600; }
.pd-out-live i { width: 7px; height: 7px; border-radius: 99px; background: #e5484d; }
.pd-out-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pd-out-row li { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 8px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pd-out-row i { width: 7px; height: 7px; border-radius: 99px; background: var(--muted-2); flex: none; }
.pd-out-row li.is-dir { background: var(--accent-soft); box-shadow: none; color: var(--accent-ink); }
.pd-out-row li.is-dir i { background: var(--accent-fg); }
.pd-outputs.is-live .pd-out-row i { animation: pdLive 2.4s var(--ease-ui) infinite; }
.pd-out-row li:nth-child(2) i { animation-delay: 0.2s !important; }
.pd-out-row li:nth-child(3) i { animation-delay: 0.4s !important; }
.pd-out-row li:nth-child(4) i { animation-delay: 0.6s !important; }
.pd-out-row li:nth-child(5) i { animation-delay: 0.8s !important; }
@keyframes pdLive { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.pd-out-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.pd-out-stats div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.pd-out-stats dt { font-size: 12.5px; color: var(--muted); }
.pd-out-stats dd { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -0.03em; color: var(--accent-fg); }

/* Tarjetas pequeñas (mini películas, apps, capacidad) */
.pd-x-small { gap: 18px; min-height: 260px; }
.pd-x-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-fg); }
.pd-x-ico .ico { width: 24px; height: 24px; }
.pd-x-small .pd-x-copy { margin-top: auto; }
.pd-cap { margin: auto 0 0; display: grid; gap: 14px; }
.pd-cap div { display: grid; gap: 2px; }
.pd-cap dt { font-size: 14px; color: var(--muted); }
.pd-cap dd { margin: 0; font-size: clamp(34px, 3vw, 46px); font-weight: 650; line-height: 1.05; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.pd-cap small { font-size: 13px; color: var(--muted-2); }

/* 7. Superficie y «para quién es» ------------------------------------------ */
.pd-showcase { padding-top: 0; }
.pd-who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.pd-who-grid li { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.2vw, 32px); border-radius: var(--r-lg); background: var(--surface); }
.pd-who-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--panel); color: var(--accent-fg); margin-bottom: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.pd-who-ico img { width: 24px; height: 24px; }
.pd-who-grid h3 { font-size: clamp(18px, 1.4vw, 21px); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.pd-who-grid p { color: var(--muted); font-size: 16px; line-height: 1.5; }

/* 8. Precios --------------------------------------------------------------- */
.pd-pricing .head { margin-bottom: 0; }
.pd-pricing .kicker b { font-size: 14px; }
.pd-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 10px; }
.pd-billing { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--fill); }
.pd-billing button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background-color var(--t-ui), color var(--t-ui); }
.pd-billing button:hover { color: var(--ink); }
.pd-billing button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .pd-billing button[aria-pressed="true"] { background: var(--surface-2); }
.pd-billing .chip { height: 22px; padding: 0 8px; font-size: 11.5px; }
.pd-pricing .pd-switch a[aria-current="page"] { background: var(--panel); }
:root[data-theme="dark"] .pd-pricing .pd-switch a[aria-current="page"] { background: var(--surface-2); }

.pd-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); margin-top: clamp(40px, 4.5vw, 64px); align-items: stretch; }
.pd-plan { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-xl); background: var(--panel); }
.pd-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pd-plan-products { display: flex; gap: 4px; }
.pd-plan-products img { width: 24px; height: 24px; }
.pd-plan-chip { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); background: var(--panel); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pd-price { display: grid; gap: 6px; }
.pd-price p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.pd-price s { font-size: 17px; font-weight: 500; color: var(--muted-2); }
.pd-price s:empty { display: none; }
.pd-price strong { font-size: clamp(46px, 4.2vw, 64px); font-weight: 650; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pd-price span { font-size: 16px; color: var(--muted); }
.pd-price small { font-size: 14px; color: var(--muted); }
.pd-price.is-swap s, .pd-price.is-swap strong, .pd-price.is-swap small { animation: pdSwap 0.5s var(--ease-quint); }
@keyframes pdSwap { from { opacity: 0.2; filter: blur(6px); transform: translateY(6px); } to { opacity: 1; filter: none; transform: none; } }
.pd-plan-copy { color: var(--muted); font-size: 16px; line-height: 1.45; }
.pd-plan .list-label { margin-bottom: 14px; }
.pd-plan-feats { display: grid; gap: 10px; }
.pd-plan-feats li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.pd-plan-feats .ico { color: var(--accent-fg); }
.pd-plan > .btn { width: 100%; margin-top: auto; }
/* Director: banda morada profunda (misma que el CTA final) */
.pd-plan.is-featured { background: var(--pd-dir-deep); color: #fff; }
.pd-plan.is-featured .pd-plan-chip { background: var(--accent); color: #fff; box-shadow: none; }
.pd-plan.is-featured .pd-price s { color: rgba(255, 255, 255, 0.5); }
.pd-plan.is-featured .pd-price span, .pd-plan.is-featured .pd-price small, .pd-plan.is-featured .pd-plan-copy { color: rgba(255, 255, 255, 0.72); }
.pd-plan.is-featured .list-label, .pd-plan.is-featured .pd-plan-feats li { color: #fff; }
.pd-plan.is-featured .pd-plan-feats .ico { color: #c4b5fd; }
:root[data-theme="dark"] .pd-plan.is-featured { background: #2a1260; }
.pd-plans-note { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* 9. Comparativa ----------------------------------------------------------- */
.pd-compare .head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.pd-table-wrap { overflow-x: auto; overscroll-behavior-x: contain; border-radius: var(--r-lg); scrollbar-width: thin; }
.pd-table-wrap:focus-visible { outline-offset: 4px; }
.pd-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.pd-col-feat { width: 34%; }
.pd-table th, .pd-table td { padding: 14px 16px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.pd-table tbody th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); }
.pd-table td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pd-table td b { display: block; font-weight: 650; color: var(--ink); }
.pd-table td small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.pd-table .is-dir { background: var(--accent-soft); }
.pd-table td.is-dir b { color: var(--accent-ink); }
.pd-table thead th { padding: 0 8px 14px; border-bottom: 1px solid var(--line-2); background: var(--bg); vertical-align: bottom; }
.pd-table thead th.is-dir { background: var(--accent-soft); border-radius: 18px 18px 0 0; padding-top: 14px; }
.pd-th { display: grid; justify-items: center; gap: 2px; padding: 4px 6px; border-radius: 12px; transition: background-color var(--t-ui); }
a.pd-th:hover { background: var(--fill); }
.pd-th span { font-size: 15.5px; font-weight: 620; color: var(--ink); letter-spacing: -0.01em; }
.pd-th b { font-size: 22px; font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pd-th small { font-size: 12px; color: var(--muted); }
.pd-table .is-dir .pd-th span { color: var(--accent-ink); }
.pd-group th { padding-top: 28px; padding-bottom: 10px; text-align: left; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); border-bottom: 1px solid var(--line-2); background: var(--bg); }
.pd-group th img { display: inline-block; width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; }
.pd-row-prod { display: inline-flex; align-items: center; gap: 8px; }
.pd-row-prod img { width: 18px; height: 18px; }
.pd-yes { display: inline-block; width: 18px; height: 18px; vertical-align: middle; background: var(--accent-fg); -webkit-mask: url(/wp-content/plugins/recursos-worship-core/src/Modules/ThemeCanvas/site/assets/icons/presenter/icons__local-media__check.svg) center / contain no-repeat; mask: url(/wp-content/plugins/recursos-worship-core/src/Modules/ThemeCanvas/site/assets/icons/presenter/icons__local-media__check.svg) center / contain no-repeat; }
.pd-no { font-style: normal; color: var(--muted-2); }
.pd-table tfoot td { border-bottom: 0; padding-top: 18px; }
.pd-table tfoot td.is-dir { border-radius: 0 0 18px 18px; padding-bottom: 18px; }
.pd-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--bg); }
.pd-table-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.pd-table-note a { font-weight: 600; }

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1200px) {
  .pd-x-7, .pd-x-5 { grid-column: span 6; }
  .pd-kits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-kits .pd-kit:nth-child(n+4) { display: none; }
  .pd-x-4 { grid-column: span 6; }
  .pd-x-4:last-child { grid-column: span 12; }
}
@media (max-width: 1000px) {
  .pd-plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pd-plan.is-featured { order: -1; }
}
@media (max-width: 900px) {
  .pd-panel { grid-template-columns: 1fr; }
  .pd-panel-media { order: -1; }
  .pd-x-7, .pd-x-6, .pd-x-5, .pd-x-4, .pd-x-4:last-child { grid-column: span 12; }
  .pd-x-small { min-height: 0; }
  .pd-who-grid { grid-template-columns: 1fr; }
  .pd-strip .s-card { width: 280px; }
  .pd-strip .s-media { height: 158px; }
  .pd-kits { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .pd-kits::-webkit-scrollbar { display: none; }
  .pd-kits .pd-kit, .pd-kits .pd-kit:nth-child(n+4) { display: grid; flex: none; width: 70%; scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .pd-switch a { height: 36px; padding: 0 13px; font-size: 14px; }
  .pd-hero-price small { max-width: 30ch; text-align: center; }
  .pd-tabs { border-radius: 22px; }
  .pd-tab { height: 40px; padding: 0 14px 0 10px; font-size: 14px; }
  .pd-panel { padding: 16px; border-radius: var(--r-lg); }
  .pd-panel-brand .chip { margin-left: 0; }
  .pd-feats li { grid-template-columns: auto minmax(0, 1fr); }
  .pd-feats .pd-tag { grid-column: 2; justify-self: start; }
  .pd-deltas dl > div { flex-direction: column; gap: 2px; }
  .pd-x { padding: 20px; border-radius: var(--r-lg); }
  .pd-screen-row { gap: 5px; }
  .pd-screen-row li { padding: 9px 2px 6px; border-radius: 10px; }
  .pd-screen-row .ico { width: 20px; height: 20px; }
  .pd-out-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-out-stats { grid-template-columns: 1fr; }
  .pd-out-stats div { display: flex; justify-content: space-between; align-items: baseline; }
  .pd-quality { left: 8px; top: 8px; }
  .pd-quality span { height: 26px; padding: 0 9px; font-size: 12px; }
  .pd-controls { flex-direction: column; align-items: center; }
  /* La tabla cabe entera a 375 px: la columna de Director siempre a la vista */
  .pd-table { min-width: 0; table-layout: fixed; font-size: 13px; }
  .pd-col-feat { width: 34%; }
  .pd-table th, .pd-table td { padding: 11px 4px; overflow-wrap: anywhere; }
  .pd-table tbody th[scope="row"] { padding-left: 2px; position: static; }
  .pd-table thead th { padding: 0 2px 12px; }
  .pd-table thead th.is-dir { padding-top: 10px; border-radius: 14px 14px 0 0; }
  .pd-th { padding: 2px; }
  .pd-th span { font-size: 11.5px; letter-spacing: -0.01em; overflow-wrap: normal; }
  .pd-th b { font-size: 16px; }
  .pd-th small { font-size: 11px; }
  .pd-table td small { font-size: 11px; }
  .pd-group th { padding-left: 2px; font-size: 11.5px; }
  .pd-row-prod { gap: 6px; }
  .pd-row-prod img { width: 16px; height: 16px; }
  .pd-table tfoot { display: none; }
}

/* 11. Movimiento reducido -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .pd-panel.is-swap .pd-panel-copy > *, .pd-panel.is-swap .pd-panel-media, .pd-price.is-swap * { animation: none !important; }
  .js .pd-kits .pd-kit, .js .pd-screens .pd-screen-row li { opacity: 1; transform: none; filter: none; }
  .pd-outputs .pd-out-row i { animation: none !important; }
}
