/*
Theme Name: BOJ Flow Suite v1.0.18
Theme URI: https://bojflowsuite.com
Author: Manuel Boj y Chari Boj
Author URI: https://bojflowsuite.com
Description: Tema corporativo personalizado para BOJ Flow Suite: News Marker + Market Sessions.
Version: 1.0.18
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boj-flow-suite
Tags: custom-logo, custom-menu, one-column, accessibility-ready, responsive-layout
*/

:root {
  --boj-bg: #050812;
  --boj-bg-soft: #0a1020;
  --boj-panel: rgba(9, 15, 30, 0.82);
  --boj-border: rgba(136, 158, 222, 0.23);
  --boj-text: #f6f7fb;
  --boj-muted: #b8bfd0;
  --boj-gold: #f4c85a;
  --boj-gold-strong: #ffc94d;
  --boj-purple: #8a56ff;
  --boj-cyan: #44c9ff;
  --boj-danger: #ff6b6b;
  --boj-radius: 22px;
  --boj-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --boj-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--boj-bg);
  color: var(--boj-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff; color: #111;
  z-index: 100000;
  border-radius: 8px;
}

.boj-container {
  width: min(calc(100% - 40px), var(--boj-container));
  margin-inline: auto;
}

.boj-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(4, 7, 15, .86);
  backdrop-filter: blur(18px);
}
.admin-bar .boj-site-header { top: 32px; }
.boj-nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.boj-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.boj-brand img, .custom-logo-link img { width: 208px; max-height: 62px; object-fit: contain; }
.custom-logo-link { display: inline-flex; align-items: center; }
.boj-nav { display: flex; align-items: center; justify-content: center; gap: 26px; flex: 1 1 auto; }
.boj-nav a {
  position: relative;
  color: #dce1ee;
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  transition: color .2s ease;
}
.boj-nav a:not(.boj-btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg,var(--boj-gold),var(--boj-purple));
  transition: right .2s ease;
}
.boj-nav a:hover, .boj-nav a:focus-visible { color: #fff; }
.boj-nav a:not(.boj-btn):hover::after, .boj-nav a:not(.boj-btn):focus-visible::after { right: 0; }
.boj-menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--boj-border);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
}
.boj-menu-toggle span,
.boj-menu-toggle::before,
.boj-menu-toggle::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.boj-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.boj-menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.boj-menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.boj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.boj-btn:hover, .boj-btn:focus-visible { transform: translateY(-2px); }
.boj-btn-primary {
  color: #11131c;
  background: linear-gradient(135deg, #ffe08a, var(--boj-gold-strong));
  box-shadow: 0 12px 30px rgba(244, 200, 90, .2);
}
.boj-btn-primary:hover, .boj-btn-primary:focus-visible { box-shadow: 0 18px 36px rgba(244, 200, 90, .3); }
.boj-btn-secondary {
  color: #fff;
  border-color: rgba(185, 127, 255, .65);
  background: rgba(87, 45, 153, .13);
}
.boj-btn-secondary:hover, .boj-btn-secondary:focus-visible { background: rgba(104, 57, 181, .22); }
.boj-btn-small { min-height: 42px; padding: 10px 17px; border-radius: 12px; font-size: .9rem; }
.boj-icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }

.boj-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 62px;
  background:
    radial-gradient(circle at 54% 22%, rgba(244,200,90,.16), transparent 4%),
    radial-gradient(circle at 78% 34%, rgba(52,111,255,.12), transparent 34%),
    radial-gradient(circle at 20% 58%, rgba(104,60,190,.18), transparent 34%),
    linear-gradient(180deg, #070b17 0%, #030711 100%);
}
.boj-hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    radial-gradient(circle at 12% 24%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 10%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 72%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 28% 78%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 46% 46%, #fff 0 1px, transparent 1.5px);
  background-size: 260px 260px, 320px 320px, 220px 220px, 350px 350px, 410px 410px;
}
.boj-hero::after {
  content: "";
  position: absolute;
  left: -8%; right: -8%; bottom: -235px;
  height: 300px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at top, rgba(46,115,255,.45), rgba(7,14,35,.72) 48%, transparent 70%);
  box-shadow: 0 -12px 45px rgba(80,136,255,.18);
}
.boj-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 56px;
}
.boj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #d8c5ff;
  font-size: .82rem;
  letter-spacing: .18em;
  font-weight: 800;
  text-transform: uppercase;
}
.boj-eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg,var(--boj-purple),var(--boj-gold)); }
.boj-hero h1, .boj-section-title, .boj-display {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.028em;
}
.boj-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.05rem, 6.1vw, 5.65rem);
  line-height: .99;
  font-weight: 700;
  text-wrap: balance;
}
.boj-gold-text {
  color: transparent;
  background: linear-gradient(135deg, #fff2bd, #f1bf4e 70%, #cb8c22);
  -webkit-background-clip: text;
  background-clip: text;
}
.boj-hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--boj-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
}
.boj-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.boj-availability-note {
  max-width: 640px;
  margin: 14px 0 0;
  color: #dfe7ff;
  font-size: .95rem;
}
.boj-trust-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}
.boj-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4d9e5;
  font-size: .91rem;
}
.boj-trust-icon {
  width: 26px; height: 26px;
  border: 1px solid rgba(244,200,90,.55);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--boj-gold);
  flex: 0 0 auto;
}
.boj-hero-visual { position: relative; min-width: 0; }
.boj-monitor {
  position: relative;
  width: min(100%, 610px);
  margin-left: auto;
  padding: 15px 15px 24px;
  border: 1px solid rgba(182,196,232,.28);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(35,42,59,.95), rgba(5,7,12,.96));
  box-shadow: var(--boj-shadow), inset 0 0 0 3px rgba(255,255,255,.025);
  transform: perspective(1200px) rotateY(-2.5deg);
}
.boj-monitor::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -65px;
  width: 170px; height: 70px;
  transform: translateX(-50%);
  background: linear-gradient(180deg,#252d3e,#080b12);
  clip-path: polygon(35% 0,65% 0,75% 78%,100% 88%,100% 100%,0 100%,0 88%,25% 78%);
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.6));
}
.boj-monitor::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -71px;
  width: 245px; height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 68%);
}
.boj-monitor-screen {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.09);
  background: #02070c;
}
.boj-monitor-glow {
  position: absolute;
  inset: 12% -5% 6% 45%;
  z-index: -1;
  filter: blur(42px);
  background: radial-gradient(circle, rgba(43,189,255,.2), transparent 68%);
}

.boj-section { position: relative; padding: 92px 0; }
.boj-section-dark { background: #030710; }
.boj-section-soft { background: linear-gradient(180deg,#071020,#030812); }
.boj-section-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.boj-section-title { margin: 0; font-size: clamp(2.25rem,4.1vw,4rem); line-height: 1.04; }
.boj-section-copy { margin: 16px 0 0; color: var(--boj-muted); font-size: 1.05rem; }

.boj-card {
  border: 1px solid var(--boj-border);
  border-radius: var(--boj-radius);
  background: linear-gradient(145deg, rgba(11,18,37,.88), rgba(5,10,22,.95));
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}
.boj-news-card {
  display: grid;
  grid-template-columns: minmax(240px,.72fr) minmax(0,1.55fr) minmax(220px,.65fr);
  gap: 36px;
  align-items: center;
  padding: 38px;
}
.boj-news-logo img { width: 265px; display: block; margin: auto; }
.boj-news-content h2 { margin: 0; font: 700 clamp(2rem,3.5vw,3.25rem)/1.1 Georgia,serif; }
.boj-news-subtitle { margin: 8px 0 22px; color: #d8ddeb; font-size: 1.08rem; }
.boj-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.boj-check-list li { position: relative; padding-left: 29px; color: #c9cfdd; }
.boj-check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: .02em;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border: 1px solid rgba(244,200,90,.75);
  border-radius: 50%;
  color: var(--boj-gold);
  font-size: .72rem;
  font-weight: 900;
}
.boj-news-cta { text-align: center; }
.boj-news-note { margin: 14px 0 0; color: #959eb1; font-size: .86rem; }

.boj-flow-panel {
  overflow: hidden;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
}
.boj-flow-copy {
  position: relative;
  z-index: 2;
  padding: 50px;
  background: linear-gradient(90deg, rgba(7,10,25,.98) 0%, rgba(7,10,25,.95) 72%, rgba(7,10,25,.35) 100%);
}
.boj-flow-copy h2 { margin: 7px 0 10px; font: 700 clamp(2.1rem,4vw,3.7rem)/1 Georgia,serif; }
.boj-flow-copy p { max-width: 650px; color: #c0c6d5; }
.boj-module-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin: 28px 0;
  max-width: 760px;
}
.boj-module-item {
  border: 1px solid rgba(244,200,90,.22);
  border-radius: 14px;
  padding: 18px;
  background: rgba(4,8,18,.58);
}
.boj-module-item h3 {
  margin: 0 0 8px;
  color: #fff3c9;
  font-size: 1rem;
  line-height: 1.25;
}
.boj-module-item p {
  margin: 0;
  color: #b8bfd0;
  font-size: .92rem;
  line-height: 1.55;
}
.boj-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.boj-flow-image { min-height: 330px; background: linear-gradient(90deg, rgba(5,8,18,.15), transparent), var(--boj-flow-bg) center/cover no-repeat; }
.boj-kicker { color: #d89aff; font-size: .8rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }

.boj-steps {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}
.boj-step { position: relative; padding: 30px 24px; text-align: center; }
.boj-step:not(:last-child)::after {
  content: "›";
  position: absolute; right: -17px; top: 50%;
  transform: translateY(-50%);
  color: #b27cff;
  font-size: 2rem;
  z-index: 3;
}
.boj-step-icon {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border: 1px solid rgba(244,200,90,.72);
  border-radius: 50%;
  color: var(--boj-gold);
  background: rgba(244,200,90,.05);
}
.boj-step h3 { margin: 0 0 7px; font-size: 1.15rem; }
.boj-step p { margin: 0; color: #aab2c3; font-size: .94rem; }

.boj-principles { display: grid; grid-template-columns: .35fr 1.65fr; gap: 36px; align-items: center; padding: 34px 42px; }
.boj-principle-art {
  width: 118px; height: 118px;
  margin: auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 35%, rgba(255,231,135,.95) 0 5%, transparent 6%),
    conic-gradient(from 210deg, var(--boj-purple), var(--boj-gold), #fff1a7, var(--boj-purple));
  box-shadow: 0 0 55px rgba(132,79,255,.25);
}
.boj-principle-art::after { content:""; width: 82%; height: 82%; border-radius: 50%; background:#081021; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.boj-principles h2 { margin: 0 0 8px; font: 700 clamp(1.75rem,3.2vw,3rem)/1.1 Georgia,serif; }
.boj-principles p { margin: 0; color: #aeb6c7; }

.boj-ecosystem {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  text-align: center;
  padding: clamp(26px, 4vw, 42px);
}
.boj-ecosystem h2 {
  margin: 0 0 10px;
  font: 700 clamp(1.85rem,3.4vw,3.1rem)/1.05 Georgia,serif;
}
.boj-ecosystem p {
  max-width: 780px;
  margin-inline: auto;
  margin: 0;
  color: #b8c0d1;
}
.boj-vendor-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 760px);
  margin-inline: auto;
}
.boj-vendor-link {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid rgba(136, 158, 222, .23);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.boj-vendor-link:hover,
.boj-vendor-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(244, 200, 90, .55);
  background: rgba(244, 200, 90, .07);
}
.boj-vendor-link img {
  display: block;
  width: auto;
  max-width: min(82%, 230px);
  max-height: 54px;
  object-fit: contain;
}

.boj-about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden; }
.boj-about-copy { padding: 42px; }
.boj-about-copy h2 { margin: 0 0 12px; font: 700 clamp(2rem,3.6vw,3.25rem)/1.05 Georgia,serif; }
.boj-about-copy p { color: #b8c0d1; }
.boj-about-image { min-height: 310px; background: linear-gradient(90deg, rgba(5,8,18,.25), transparent), var(--boj-about-bg) center/cover no-repeat; }

.boj-support {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(30px, 5vw, 56px);
}
.boj-support h2 { margin: 0 0 12px; font: 700 clamp(1.7rem,3vw,2.6rem)/1.1 Georgia,serif; }
.boj-support p { margin: 0; color: #b5bdcf; }

.boj-site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #02050b;
  padding: 58px 0 24px;
}
.boj-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .7fr .9fr;
  gap: 44px;
}
.boj-footer-brand img { width: 210px; }
.boj-footer-brand p { max-width: 320px; color: #929bac; font-size: .93rem; }
.boj-footer-title { margin: 0 0 13px; font: 700 1.1rem/1.2 Georgia,serif; }
.boj-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.boj-footer-links a { color: #a9b1c2; text-decoration: none; font-size: .92rem; }
.boj-footer-links a:hover, .boj-footer-links a:focus-visible { color: #fff; }
.boj-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: #768094;
  font-size: .78rem;
}
.boj-footer-bottom p { margin: 0; }
.boj-footer-disclosures {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(136, 158, 222, .18);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.boj-footer-disclosures h2 {
  margin: 0 0 12px;
  color: #f4d77f;
  font-size: .95rem;
  line-height: 1.3;
}
.boj-footer-disclosures h3 {
  margin: 18px 0 6px;
  color: #dfe4f0;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.boj-footer-disclosures p {
  margin: 0;
  color: #929bac;
  font-size: .76rem;
  line-height: 1.55;
}

.boj-page-shell { min-height: 70vh; padding: 82px 0; background: linear-gradient(180deg,#07101e,#030710); }
.boj-page-card { padding: clamp(28px,5vw,58px); }
.boj-page-card h1 { margin-top: 0; font: 700 clamp(2.3rem,5vw,4.5rem)/1 Georgia,serif; }
.boj-page-card :where(p,li) { color: #c1c7d5; }
.boj-page-card a { color: #e8c76c; }

@media (max-width: 1050px) {
  .boj-nav { gap: 16px; }
  .boj-nav a { font-size: .86rem; }
  .boj-hero-grid { grid-template-columns: .9fr 1.1fr; gap: 30px; }
  .boj-news-card { grid-template-columns: .65fr 1.35fr; }
  .boj-news-cta { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 20px; }
  .boj-news-note { margin: 0; max-width: 320px; }
}

@media (max-width: 900px) {
  .admin-bar .boj-site-header { top: 46px; }
  .boj-menu-toggle { display: block; }
  .boj-nav {
    position: absolute;
    left: 20px; right: 20px; top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--boj-border);
    border-radius: 16px;
    background: rgba(5,9,19,.98);
    box-shadow: var(--boj-shadow);
  }
  .boj-nav.is-open { display: flex; }
  .boj-nav a { padding: 11px 13px; text-align: center; }
  .boj-nav a::after { display: none; }
  .boj-nav .boj-btn { margin-top: 6px; }
  .boj-hero { padding-top: 66px; }
  .boj-hero-grid { grid-template-columns: 1fr; }
  .boj-hero-copy { text-align: center; }
  .boj-eyebrow { justify-content: center; }
  .boj-hero-lead { margin-inline: auto; }
  .boj-hero-actions { justify-content: center; }
  .boj-monitor { margin: 10px auto 0; transform: none; max-width: 600px; }
  .boj-trust-row { grid-template-columns: repeat(2,1fr); }
  .boj-news-card { grid-template-columns: 1fr; text-align: center; }
  .boj-check-list { text-align: left; max-width: 560px; margin-inline: auto; }
  .boj-news-cta { grid-column: auto; flex-direction: column; }
  .boj-flow-panel, .boj-about { grid-template-columns: 1fr; }
  .boj-ecosystem { grid-template-columns: 1fr; }
  .boj-module-grid { grid-template-columns: 1fr; }
  .boj-flow-image { min-height: 260px; order: -1; }
  .boj-about-image { min-height: 270px; order: -1; }
  .boj-steps { grid-template-columns: repeat(2,1fr); }
  .boj-step:nth-child(2)::after { display: none; }
  .boj-principles { grid-template-columns: 1fr; text-align: center; }
  .boj-support { grid-template-columns: 1fr; text-align: center; }
  .boj-footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .boj-container { width: min(calc(100% - 28px), var(--boj-container)); }
  .boj-nav-wrap { min-height: 68px; }
  .boj-brand img, .custom-logo-link img { width: 168px; max-height: 52px; }
  .boj-hero { padding: 52px 0 36px; }
  .boj-hero h1 { font-size: clamp(2.65rem,13.5vw,4.1rem); }
  .boj-hero-actions { flex-direction: column; }
  .boj-hero-actions .boj-btn { width: 100%; }
  .boj-monitor { padding: 9px 9px 18px; border-radius: 20px; }
  .boj-monitor::before { bottom: -49px; height: 52px; }
  .boj-monitor::after { bottom: -55px; }
  .boj-trust-row { grid-template-columns: 1fr; margin-top: 60px; }
  .boj-section { padding: 68px 0; }
  .boj-news-card, .boj-flow-copy, .boj-about-copy, .boj-principles, .boj-support { padding: 28px 22px; }
  .boj-steps { grid-template-columns: 1fr; }
  .boj-step::after { display: none !important; }
  .boj-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .boj-vendor-links { grid-template-columns: 1fr; }
  .boj-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

section[id], footer[id] { scroll-margin-top: 104px; }

.boj-contact-email {
  margin: 0 0 10px;
  color: #d9deeb;
  overflow-wrap: anywhere;
}
.boj-copy-email {
  appearance: none;
  border: 1px solid rgba(185,127,255,.65);
  border-radius: 10px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(87,45,153,.13);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.boj-copy-email:hover, .boj-copy-email:focus-visible {
  background: rgba(104,57,181,.24);
  transform: translateY(-1px);
}
.boj-copy-status {
  display: block;
  min-height: 1.4em;
  margin-top: 8px;
  color: var(--boj-gold);
  font-size: .84rem;
}


/* Version 1.0.2: accessible CTA contrast, contact form and legal links. */
.boj-nav .boj-btn-primary,
.boj-nav .boj-btn-primary:hover,
.boj-nav .boj-btn-primary:focus-visible {
  color: #10131c;
}

.boj-btn-primary:visited { color: #10131c; }
.boj-btn-primary:hover,
.boj-btn-primary:focus-visible {
  color: #080b12;
  background: linear-gradient(135deg, #ffe8a6, #ffca4c);
}

.boj-support-copy { padding-top: 8px; }
.boj-support-email {
  display: grid;
  gap: 3px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(244, 200, 90, .24);
  border-radius: 14px;
  background: rgba(244, 200, 90, .05);
}
.boj-support-email span {
  color: var(--boj-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.boj-support-email strong {
  color: #f4d77f;
  overflow-wrap: anywhere;
}
.boj-telegram-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 15px 18px;
  border: 1px solid rgba(68, 201, 255, .22);
  border-radius: 14px;
  background: rgba(68, 201, 255, .055);
}
.boj-telegram-box span {
  color: var(--boj-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.boj-telegram-box p {
  margin: 0;
  color: #b8bfd0;
  font-size: .94rem;
}
.boj-telegram-link {
  width: fit-content;
  color: #f4d77f;
  font-weight: 800;
  text-decoration: none;
}
.boj-telegram-link:hover,
.boj-telegram-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.boj-contact-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(136, 158, 222, .23);
  border-radius: 18px;
  background: rgba(3, 8, 20, .72);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
  text-align: left;
}
.boj-contact-panel h3 {
  margin: 0 0 18px;
  font: 700 clamp(1.45rem, 2.4vw, 2rem)/1.15 Georgia, serif;
}
.boj-contact-form { display: grid; gap: 15px; }
.boj-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.boj-contact-form label {
  display: grid;
  gap: 7px;
  color: #dfe4f0;
  font-size: .9rem;
  font-weight: 700;
}
.boj-contact-form :where(input[type="text"], input[type="email"], select, textarea) {
  width: 100%;
  border: 1px solid rgba(136, 158, 222, .28);
  border-radius: 11px;
  padding: 12px 13px;
  color: #f7f8fc;
  background: rgba(255, 255, 255, .045);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.boj-contact-form select { color-scheme: light; }
.boj-contact-form textarea { resize: vertical; min-height: 145px; }
.boj-contact-form :where(input, select, textarea):focus {
  border-color: rgba(244, 200, 90, .72);
  box-shadow: 0 0 0 3px rgba(244, 200, 90, .11);
  background: rgba(255, 255, 255, .065);
}
.boj-privacy-check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 10px !important;
  color: #b8bfd0 !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  line-height: 1.5;
}
.boj-privacy-check input { margin-top: .25em; accent-color: var(--boj-gold-strong); }
.boj-privacy-check a { color: #f4d77f; }
.boj-contact-form .boj-btn { justify-self: start; border: 0; }
.boj-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.boj-form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 700;
}
.boj-form-status-success {
  color: #c9ffdc;
  border: 1px solid rgba(74, 222, 128, .35);
  background: rgba(22, 101, 52, .24);
}
.boj-form-status-error {
  color: #ffd2d2;
  border: 1px solid rgba(248, 113, 113, .35);
  background: rgba(127, 29, 29, .24);
}
.boj-form-note {
  margin-top: 14px !important;
  color: #818b9f !important;
  font-size: .78rem;
  line-height: 1.45;
}
.boj-site-footer a { color: #b8c1d4; }
.boj-site-footer a:hover,
.boj-site-footer a:focus-visible { color: #f4d77f; }

@media (max-width: 900px) {
  .boj-support { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 600px) {
  .boj-form-grid { grid-template-columns: 1fr; }
  .boj-contact-form .boj-btn { width: 100%; }
}

/* Version 1.0.8: selector nativo legible en escritorio. */
/* Version 1.0.9: descarga publica retirada temporalmente hasta validacion/proteccion. */
/* Version 1.0.10: bloqueo del slug publico /obtener-boj-news-marker/. */
.boj-contact-form select {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  color-scheme: light !important;
  color: #111827 !important;
  background-color: #ffffff !important;
  border-color: rgba(244, 200, 90, .72) !important;
}
.boj-contact-form select option,
.boj-contact-form select optgroup {
  color: #111827 !important;
  background-color: #ffffff !important;
}
.boj-contact-form select option:checked {
  color: #ffffff !important;
  background-color: #2563eb !important;
}
.bojnm-page-shell {
  padding: 28px 0 72px;
}

/* =========================================================
   Version estatica 2.0 - Netlify
   Anadidos: idioma ES/EN, modulos de la suite, fichas de
   funciones de BOJ Flow Watch y tarjetas del Inspector.
   ========================================================= */

/* --- Idioma: solo oculta, nunca fuerza display --- */
html:not(.lang-en) [data-lang="en"] { display: none !important; }
html.lang-en [data-lang="es"] { display: none !important; }

.boj-lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--boj-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
}
.boj-lang-switch button {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 6px 11px;
  color: #aab3c6;
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.boj-lang-switch button:hover { color: #fff; }
.boj-lang-switch button[aria-pressed="true"] {
  color: #11131c;
  background: linear-gradient(135deg, #ffe08a, var(--boj-gold-strong));
}

/* --- Modulos de la suite --- */
.boj-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.boj-tier {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px;
}
.boj-tier-free { border-color: rgba(244, 200, 90, .45); }
.boj-tier h3 { margin: 0; font: 700 clamp(1.4rem, 2.2vw, 1.85rem)/1.15 Georgia, serif; }
.boj-tier-sub { margin: 0; color: #cdd4e2; font-size: .97rem; }
.boj-tier-note { margin: 0; color: #939cae; font-size: .89rem; }
.boj-tier .boj-check-list { margin-top: 4px; }
.boj-tier .boj-check-list li { font-size: .92rem; }
.boj-tier .boj-btn { margin-top: auto; align-self: flex-start; }
.boj-tier-tag {
  width: fit-content;
  margin: 0;
  padding: 5px 12px;
  border: 1px solid rgba(136, 158, 222, .35);
  border-radius: 999px;
  color: #b9c2d5;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.boj-tier-tag-free {
  border-color: rgba(244, 200, 90, .6);
  color: #11131c;
  background: linear-gradient(135deg, #ffe08a, var(--boj-gold-strong));
}

/* --- Fichas de funciones --- */
.boj-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.boj-feature { position: relative; padding: 34px 30px; }
.boj-feature-wide { grid-column: 1 / -1; }
.boj-feature-num {
  margin: 0 0 6px;
  color: rgba(244, 200, 90, .5);
  font: 700 1.05rem/1 Georgia, serif;
  letter-spacing: .2em;
}
.boj-feature h3 { margin: 0 0 10px; font: 700 clamp(1.35rem, 2.3vw, 1.95rem)/1.15 Georgia, serif; }
.boj-feature-lead { margin: 0 0 18px; color: #d3d9e6; font-size: 1.02rem; }
.boj-feature-foot {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(136, 158, 222, .16);
  color: #a8b0c2;
  font-size: .91rem;
  line-height: 1.6;
}
.boj-feature-foot strong { color: #f4d77f; }
.boj-feature-foot + .boj-feature-foot { border-top: 0; padding-top: 0; margin-top: 12px; }

/* --- Tarjetas del Inspector --- */
.boj-inspector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.boj-inspector-card {
  padding: 18px;
  border: 1px solid rgba(244, 200, 90, .22);
  border-radius: 14px;
  background: rgba(4, 8, 18, .58);
}
.boj-inspector-title {
  margin: 0 0 8px;
  color: #fff3c9;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.boj-inspector-card p:last-child { margin: 0; color: #b8bfd0; font-size: .92rem; line-height: 1.55; }
.boj-inspector-card em { color: #dfe4f0; font-style: normal; font-weight: 700; }

@media (max-width: 1050px) {
  .boj-tier-grid { grid-template-columns: 1fr; }
  .boj-feature-grid { grid-template-columns: 1fr; }
  .boj-inspector-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .boj-lang-switch { align-self: center; margin-top: 8px; }
  .boj-feature, .boj-tier { padding: 26px 22px; }
}

/* --- Capturas dentro de una ficha --- */
.boj-shot {
  margin: 20px 0 0;
  padding: 0;
}
.boj-shot img {
  display: block;
  width: 100%;
  border: 1px solid rgba(136, 158, 222, .22);
  border-radius: 14px;
  background: #02070c;
}
.boj-shot figcaption {
  margin-top: 10px;
  color: #939cae;
  font-size: .86rem;
  line-height: 1.5;
}

/* --- Plataforma y datos --- */
.boj-vendor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.boj-vendor-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 30px;
}
.boj-vendor-logo {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(136, 158, 222, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .93);
}
.boj-vendor-logo img {
  width: auto;
  max-width: min(76%, 210px);
  max-height: 40px;
  object-fit: contain;
}
.boj-vendor-card h3 { margin: 0; font: 700 clamp(1.3rem, 2.1vw, 1.7rem)/1.2 Georgia, serif; }
.boj-vendor-card p { margin: 0; color: #b8bfd0; font-size: .96rem; }
.boj-vendor-card .boj-check-list li { font-size: .92rem; }
.boj-vendor-card .boj-btn { margin-top: auto; align-self: flex-start; }
.boj-vendor-note {
  max-width: 760px;
  margin: 24px auto 0;
  color: #7d8598;
  font-size: .82rem;
  text-align: center;
}

@media (max-width: 900px) {
  .boj-vendor-grid { grid-template-columns: 1fr; }
  .boj-vendor-card { padding: 26px 22px; }
}

/* =========================================================
   Movimiento. Todo se desactiva solo si el sistema del
   visitante pide menos animacion (ver bloque final).
   ========================================================= */

/* Aparicion al bajar por la pagina */
.boj-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.boj-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* El monitor del hero respira despacio */
@keyframes boj-float {
  0%, 100% { transform: perspective(1200px) rotateY(-2.5deg) translateY(0); }
  50%      { transform: perspective(1200px) rotateY(-2.5deg) translateY(-12px); }
}
.boj-hero-visual .boj-monitor {
  animation: boj-float 9s ease-in-out infinite;
}

/* El resplandor de detras late muy lento */
@keyframes boj-glow-pulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .95; transform: scale(1.07); }
}
.boj-monitor-glow {
  animation: boj-glow-pulse 11s ease-in-out infinite;
}

/* El campo de estrellas del hero deriva despacio */
@keyframes boj-stars-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 260px 130px, -320px 160px, 220px -110px, -350px -175px, 410px 205px; }
}
.boj-hero::before {
  animation: boj-stars-drift 180s linear infinite;
}

/* Subrayado del menu y elevacion de tarjetas */
.boj-tier, .boj-feature, .boj-vendor-card, .boj-step {
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.boj-tier:hover, .boj-vendor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 200, 90, .42);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
}

@media (prefers-reduced-motion: reduce) {
  .boj-reveal { opacity: 1 !important; transform: none !important; }
  .boj-hero-visual .boj-monitor,
  .boj-monitor-glow,
  .boj-hero::before { animation: none !important; }
}

/* --- Bloque de principios con ilustracion --- */
.boj-principles-art {
  gap: 0;
  padding: 0;
  overflow: hidden;
  grid-template-columns: .8fr 1.2fr;
  align-items: stretch;
}
.boj-principles-art .boj-principle-image {
  min-height: 300px;
  background: linear-gradient(90deg, transparent, rgba(5, 8, 18, .35)), var(--boj-principles-bg) center/cover no-repeat;
}
.boj-principles-art > div:last-child {
  align-self: center;
  padding: 40px 44px;
}

@media (max-width: 900px) {
  .boj-principles-art { grid-template-columns: 1fr; }
  .boj-principles-art .boj-principle-image { min-height: 220px; order: -1; }
  .boj-principles-art > div:last-child { padding: 28px 22px; }
}

/* =========================================================
   Firmamento de fondo
   Lienzo fijo detras de todo el contenido. Las secciones se
   vuelven ligeramente translucidas para que se vea a traves.
   ========================================================= */

.boj-starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

/* Las secciones dejan pasar el fondo */
.boj-section-dark { background: rgba(3, 7, 16, .70); }
.boj-section-soft { background: linear-gradient(180deg, rgba(7, 16, 32, .76), rgba(3, 8, 18, .80)); }
.boj-site-footer { background: rgba(2, 5, 11, .86); }
.boj-hero {
  background:
    radial-gradient(circle at 54% 22%, rgba(244,200,90,.16), transparent 40%),
    radial-gradient(circle at 78% 34%, rgba(52,111,255,.12), transparent 34%),
    radial-gradient(circle at 20% 58%, rgba(104,60,190,.18), transparent 34%),
    linear-gradient(180deg, rgba(7,11,23,.52) 0%, rgba(3,7,17,.66) 100%);
}

/* Los puntos decorativos antiguos del hero sobran con el firmamento */
.boj-hero::before { display: none; }

/* Las tarjetas siguen siendo opacas: el texto manda sobre el adorno */
.boj-card {
  background: linear-gradient(145deg, rgba(11, 18, 37, .93), rgba(5, 10, 22, .97));
  backdrop-filter: blur(2px);
}
