/* PRICE HUNTERS · pasada 3 — transparencia, PH Academy (enlaces), «Quiénes somos» y accesibilidad.
   Solo consume variables --ph-* / --nx-* del design system. No afecta a la portada: esta hoja no se carga en index.html. */

/* ---------- botón flotante de soporte (solo páginas con .tg-desk; la portada se queda como estaba) ---------- */
@media (min-width: 761px) {
  .tg-float.tg-desk { display: inline-flex; opacity: 0; transform: translateY(120px); pointer-events: none; }
  .tg-float.tg-desk.show { opacity: 1; transform: none; pointer-events: auto; }
  .tg-float.tg-desk.tg-hide { opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; }
}
@media (max-width: 760px) { .tg-float.tg-desk { height: 48px; min-width: 48px; } }

/* ---------- franja «PH Academy» (snippets congruentes) ---------- */
.p3-snip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin: clamp(26px, 3vw, 40px) auto 0; padding: 16px 20px; max-width: var(--wrap, 1180px);
  border: 1px solid rgba(212, 175, 55, .30);
  background: linear-gradient(100deg, rgba(212, 175, 55, .10), rgba(212, 175, 55, .02) 62%, transparent);
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease;
}
.p3-snip:hover { border-color: rgba(212, 175, 55, .6); background: linear-gradient(100deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .04) 62%, transparent); }
.p3-snip-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid rgba(212, 175, 55, .4); color: var(--ph-gold, #D4AF37); }
.p3-snip-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.p3-snip-t { display: grid; gap: 3px; min-width: 0; }
.p3-snip-t b { font: 800 italic 18px/1.2 "Exo 2", sans-serif; color: var(--ph-white, #F5F5F5); }
.p3-snip-t span { font-size: 13px; line-height: 1.45; color: #A9AEB6; }
.p3-snip-go { margin-left: auto; font: 700 12px/1 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ph-gold, #D4AF37); white-space: nowrap; }
.p3-snip-go::after { content: " →"; }
@media (max-width: 700px) { .p3-snip-go { margin-left: 0; } .p3-snip { padding: 14px 16px; } }

/* ---------- bloque «Garantías de transparencia» (precios) ---------- */
.p3-transp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0;
  background: rgba(192, 197, 204, .16); border: 1px solid rgba(192, 197, 204, .16); list-style: none; }
.p3-transp > li { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.4vw, 28px); background: linear-gradient(180deg, #101011 0%, #0A0A0B 100%); }
.p3-transp > li b { display: flex; align-items: center; gap: 10px; font: 700 18px/1.25 Rajdhani, sans-serif; letter-spacing: .02em; color: var(--ph-white, #F5F5F5); }
.p3-transp > li b svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ph-gold, #D4AF37); stroke-width: 1.6; }
.p3-transp > li p { margin: 0; font-size: 14px; line-height: 1.55; color: #B9BEC5; }
.p3-transp > li em { font-style: normal; font: 700 11.5px/1 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ph-gold, #D4AF37); }
@media (max-width: 860px) { .p3-transp { grid-template-columns: 1fr; } }

/* ---------- mención de PH Academy en las tarjetas de plan ---------- */
.p3-tier-acad { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; padding: 10px 12px; border-left: 2px solid rgba(212, 175, 55, .55); background: rgba(212, 175, 55, .06); font-size: 12.5px; line-height: 1.45; color: #C9CDD3; }
.p3-tier-acad b { color: var(--ph-white, #F5F5F5); font-weight: 600; }
.p3-tier-acad svg { width: 15px; height: 15px; flex: none; margin-top: 2px; fill: none; stroke: var(--ph-gold, #D4AF37); stroke-width: 1.6; }
.p3-tier-acad a { color: var(--ph-gold-light, #FFD45A); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- «Quiénes somos» ---------- */
.nst-hero { position: relative; padding: clamp(76px, 7.4vw, 104px) 0 clamp(48px, 5.6vw, 76px); border-bottom: 1px solid var(--nx-line, rgba(192,197,204,.16)); overflow: hidden; }
.nst-hero-in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(24px, 3.6vw, 52px); align-items: center; }
.nst-hero h1 { margin: 0 0 20px; font: 800 italic clamp(36px, 5vw, 66px)/1.02 "Exo 2", sans-serif; letter-spacing: -.02em; color: var(--ph-white, #F5F5F5); text-wrap: balance; }
.nst-hero h1 .g { display: block; font-weight: inherit; background: var(--ph-gradient-gold, linear-gradient(100deg, #C8961E, #FFD45A, #D4AF37)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.nst-lead { margin: 0 0 22px; max-width: 54ch; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.6; color: #B9BEC5; }
.nst-lead b { color: var(--ph-white, #F5F5F5); font-weight: 600; }
.nst-fig { position: relative; justify-self: stretch; width: 100%; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(212, 175, 55, .30); background: #08080A; box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); }
.nst-fig picture { display: block; position: absolute; inset: 0; }
.nst-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nst-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 20px 16px; background: linear-gradient(0deg, rgba(0, 0, 0, .96) 18%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, 0)); font: 700 11.5px/1.3 Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #E2E6EA; }
.nst-fig figcaption b { display: block; margin-top: 4px; font: 800 italic 20px/1.1 "Exo 2", sans-serif; letter-spacing: 0; text-transform: none; color: var(--ph-white, #F5F5F5); }
.nst-sec { padding: clamp(48px, 6vw, 88px) 0; }
.nst-sec--alt { background: linear-gradient(180deg, #080808 0%, #0B0B0C 100%); border-block: 1px solid var(--nx-line, rgba(192,197,204,.16)); }
.nst-h2 { margin: 0 0 14px; font: 800 italic clamp(28px, 3.6vw, 46px)/1.06 "Exo 2", sans-serif; letter-spacing: -.01em; color: var(--ph-white, #F5F5F5); text-wrap: balance; }
.nst-h2 .g { display: block; font-weight: inherit; background: var(--ph-gradient-gold, linear-gradient(100deg, #C8961E, #FFD45A, #D4AF37)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nst-head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.nst-text { margin: 0 0 14px; max-width: 74ch; font-size: 15.5px; line-height: 1.65; color: #B9BEC5; }
.nst-text b { color: var(--ph-white, #F5F5F5); font-weight: 600; }
.nst-vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(192, 197, 204, .16); border: 1px solid rgba(192, 197, 204, .16); }
.nst-val { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 30px); background: #0B0B0C; }
.nst-val-n { font: 700 12px/1 Rajdhani, sans-serif; letter-spacing: .2em; color: var(--ph-gold, #D4AF37); }
.nst-val b { font: 800 italic 21px/1.15 "Exo 2", sans-serif; color: var(--ph-white, #F5F5F5); }
.nst-val p { margin: 0; font-size: 14px; line-height: 1.55; color: #A9AEB6; }
.nst-eco { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.nst-eco-card { position: relative; display: block; padding: 22px; border: 1px solid rgba(192, 197, 204, .18); background: linear-gradient(180deg, #121212, #0B0B0C); text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.nst-eco-card:hover { border-color: rgba(212, 175, 55, .5); transform: translateY(-2px); }
.nst-eco-card > b { display: block; font: 700 17px/1.2 Rajdhani, sans-serif; letter-spacing: .02em; color: var(--ph-white, #F5F5F5); }
.nst-eco-card > span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.5; color: #A9AEB6; }
.nst-eco-card > i { display: block; margin-top: 12px; font-style: normal; font: 700 11.5px/1 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ph-gold, #D4AF37); }
.nst-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.nst-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(192, 197, 204, .16); border: 1px solid rgba(192, 197, 204, .16); }
.nst-facts li { display: grid; gap: 4px; padding: 14px 16px; background: #0B0B0C; }
.nst-facts li > b { font: 700 12px/1 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ph-gold, #D4AF37); }
.nst-facts li > span { font-size: 14.5px; line-height: 1.5; color: #C9CDD3; }
.nst-pend-note { margin: 18px 0 0; padding: 12px 14px; border: 1px dashed rgba(212, 175, 55, .35); font-size: 12.5px; line-height: 1.55; color: #A9AEB6; }
/* bloques a la espera de datos del dueño: ocultos mientras no se rellenen (ver assets/js/pasada3.js) */
[data-pendiente] { display: none !important; }
.nst-person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center; padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(212, 175, 55, .26); background: linear-gradient(120deg, #121006, #0B0B0C 60%); }
.nst-person img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border: 1px solid rgba(212, 175, 55, .3); }
.nst-person h3 { margin: 0 0 6px; font: 800 italic 26px/1.1 "Exo 2", sans-serif; color: var(--ph-white, #F5F5F5); }
.nst-person p { margin: 0; font-size: 15px; line-height: 1.6; color: #B9BEC5; }
.nst-person small { display: block; margin-top: 8px; font: 700 11.5px/1 Rajdhani, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ph-gold, #D4AF37); }
@media (min-width: 861px) { .nst-fig { aspect-ratio: 1 / 1; } }
@media (max-width: 860px) {
  .nst-hero { padding-top: clamp(18px, 5vw, 30px); }
  .nst-fig { margin-bottom: 4px; }
  .nst-hero-in, .nst-split { grid-template-columns: 1fr; }
  .nst-vals, .nst-eco { grid-template-columns: 1fr; }
  .nst-person { grid-template-columns: 1fr; }
  .nst-fig { order: -1; width: 100%; justify-self: stretch; }
}


/* ---------- idioma (ES/EN por bloques: el ES y el EN conviven en el HTML) ---------- */
.i18n-en { display: none !important; }
html[lang="en"] .i18n-es { display: none !important; }
html[lang="en"] .i18n-en { display: inline !important; }
html[lang="en"] .nst-h2 .i18n-en .g, html[lang="en"] .nst-hero h1 .i18n-en .g { display: block; }
.nx-cta h2 .g { background: var(--ph-gradient-gold, linear-gradient(100deg, #C8961E, #FFD45A, #D4AF37)); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- precios: hero compacto, banda de garantías y tarjetas ---------- */
body[data-page="precios"] .p2-phero { padding: clamp(16px, 2vw, 24px) 0 clamp(16px, 1.8vw, 20px); }
body[data-page="precios"] #tarifas { padding-top: clamp(18px, 2vw, 24px); }
body[data-page="precios"] .p2-phero h1 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 10px; }
body[data-page="precios"] .p2-phero-in { grid-template-columns: 1fr; }
body[data-page="precios"] .p2-phero-art { display: none; }
body[data-page="precios"] .p2-phero .p2-lead { max-width: 78ch; font-size: 16.5px; line-height: 1.55; }
body[data-page="precios"] .p2-riskline { margin-top: 10px; font-size: 12.5px; }
.p3-band { border-block: 1px solid rgba(192, 197, 204, .16); background: #08080A; }
.p3-band-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: var(--wrap, 1180px); margin: 0 auto; padding: 0 var(--pad, clamp(20px, 4vw, 40px)); }
.p3-band-in > span { display: grid; gap: 2px; align-content: start; padding: 11px 14px 12px; font-size: 12.5px; line-height: 1.35; color: #B0B5BC; }
.p3-band-in > span:first-child { padding-left: 0; }
.p3-band-in > span > b { font: 700 13px/1.2 Rajdhani, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ph-gold, #D4AF37); }
@media (max-width: 860px) { .p3-band-in { grid-template-columns: 1fr 1fr; row-gap: 2px; } .p3-band-in > span { padding-left: 0; } }
/* tarjetas: misma altura de la línea de academia para que las listas alineen */
.p3-tier-acad { min-height: 64px; align-items: center; }
body[data-page="precios"] .p2-tiers { gap: clamp(16px, 1.8vw, 24px); }
/* densidad de las tarjetas en precios: que el CTA entre en el primer pantallazo a 1440×900 */
body[data-page="precios"] .p2-tier { padding: clamp(20px, 2.1vw, 26px); }
body[data-page="precios"] .p2-tier-name { margin-top: 10px; font-size: clamp(20px, 2vw, 24px); }
body[data-page="precios"] .p2-tier-price { margin: 14px 0 2px; }
body[data-page="precios"] .p2-tier-price b { font-size: clamp(34px, 3.6vw, 46px); }
body[data-page="precios"] .p2-tier-per { margin-bottom: 12px; }
body[data-page="precios"] .p3-tier-acad { min-height: 56px; padding: 8px 12px; margin-bottom: 12px; }
body[data-page="precios"] .p2-tier-list { gap: 6px; padding-top: 11px; margin-bottom: 14px; }
body[data-page="precios"] .p2-tier-list li { font-size: 13.5px; line-height: 1.4; }
body[data-page="precios"] .p2-tier-per { display: none; }
body[data-page="precios"] .p2-tier-note { margin: auto 0 10px; min-height: 2.4em; font-size: 11.5px; padding-top: 8px; border-top: 1px solid rgba(192, 197, 204, .12); }
body[data-page="precios"] .p3-band-in > span { padding-block: 7px 8px; }
body[data-page="precios"] .p2-pay-methods { margin-top: clamp(28px, 3.4vw, 44px); }
@media (min-width: 961px) {
  body[data-page="precios"] .p2-tier.is-pro { transform: none; box-shadow: 0 46px 90px -60px rgba(212, 175, 55, .85), 0 0 0 1px rgba(212, 175, 55, .22) inset; }
  body[data-page="precios"] .p2-tier.is-pro:hover { transform: translateY(-3px); }
}
@media (max-width: 900px) { .p3-ladder { display: none; } }

/* barra de desplazamiento acorde al tema (esta hoja no se carga en la portada) */
html { color-scheme: dark; scrollbar-color: #3A3A3A #0A0A0A; }

/* ---------- FAQ: jerarquía y medida de lectura ---------- */
body[data-page="faq"] .nx-page-hero { padding-bottom: clamp(26px, 3.4vw, 44px); }
body[data-page="faq"] .nx-sec { padding-top: clamp(32px, 4vw, 56px); }
body[data-page="faq"] .nx-h2 { font-size: clamp(24px, 2.7vw, 34px); }
body[data-page="faq"] .faq { max-width: 1000px; }
body[data-page="faq"] .faq details, body[data-page="faq"] .faq details:first-child { border-color: rgba(255, 255, 255, .12); }
body[data-page="faq"] .faq summary { font-size: 16.5px; line-height: 1.35; }

/* ---------- accesibilidad (pasada 3) ---------- */
/* foco visible consistente en los componentes nuevos */
.nst-eco-card:focus-visible, .p3-snip:focus-visible, .p3-tier-acad a:focus-visible {
  outline: 2px solid var(--ph-gold-light, #FFD45A); outline-offset: 3px;
}
/* contraste mínimo AA en textos secundarios sobre fondo oscuro */
.p2-fine, .nx-fine { color: #9AA0A8; }
.p3-transp > li p, .nst-text { color: #B9BEC5; }
/* objetivos táctiles ≥ 44 px en móvil (solo enlaces de utilidad, no en el hero) */
@media (max-width: 860px) {
  .ph-footer nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
  .faq summary { min-height: 44px; display: flex; align-items: center; }
  .p2-tier .ph-button, .p3-snip, .nx-ctas a { min-height: 44px; }
  .tg-float { min-height: 48px; }
  .ph-nav-login { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-cta .lang, .nav-cta .burger { min-width: 44px; min-height: 44px; }
}
/* respeta «reducir movimiento» también en las transiciones nuevas */
@media (prefers-reduced-motion: reduce) {
  .p3-snip, .p3-transp > li, .nst-eco-card, .nst-val { transition: none !important; }
}

/* 3-dic-2026: etiquetas Disponible hoy / Próximamente + botón fijo «Hazte socio» en móvil */
.ph-disp{display:inline-block;width:fit-content;align-self:flex-start;justify-self:start;margin:4px 0 6px;padding:3px 9px;border-radius:999px;font:600 11px/1.4 Inter,Arial,sans-serif;
  letter-spacing:.06em;text-transform:uppercase;vertical-align:middle}
.ph-disp.on{background:rgba(61,220,132,.12);color:#3ddc84;border:1px solid rgba(61,220,132,.35)}
.ph-disp.prox{background:rgba(255,196,0,.10);color:#FFC400;border:1px solid rgba(255,196,0,.35)}
.rs-como{max-width:900px;margin:14px 0 6px;color:#aeb4bd;font-size:13.5px;line-height:1.55}
.rs-como b{color:#E8E3D3}
.ph-sticky{display:none}
@media (max-width:760px){
  .ph-sticky{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:60;padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    background:#07080a;border-top:1px solid rgba(212,175,55,.28);box-shadow:0 -10px 24px rgba(0,0,0,.6)}
  .ph-sticky a{display:flex;align-items:center;justify-content:center;border-radius:14px;text-decoration:none;font:800 15px/1 Inter,Arial,sans-serif;letter-spacing:.04em}
  .ph-sticky .cta{flex:1;padding:15px 18px;background:linear-gradient(135deg,#D4AF37,#FFC400);color:#0b0b0b;box-shadow:0 8px 24px rgba(0,0,0,.5)}
  .ph-sticky .sop{width:52px;border:1px solid rgba(212,175,55,.55);color:#FFD45A;background:#101215;font-size:20px}
  body.has-sticky-cta{padding-bottom:84px}
  body.has-sticky-cta .tg-float{display:none!important}
}
