/*
Theme Name: Fragmentalex
Theme URI: https://fragmentalex.cl/
Author: Fragmentalex
Author URI: https://fragmentalex.cl/
Description: Tema oficial de Fragmentalex — desfragmentación forense de carpetas de investigación penal. Landing de una sola página (hero, cómo funciona, casos de uso, precios, FAQ y contacto) más plantillas para las páginas legales. Diseño oscuro, responsive y sin dependencias externas salvo las tipografías de Google Fonts.
Version: 1.0.1
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fragmentalex
Tags: one-column, custom-logo, custom-menu, editor-style, full-width-template, translation-ready, landing-page
*/

/* ============================================================
   Fragmentalex — hoja de estilos del tema
   Secciones:
     1. Tokens de diseño y estilos de la landing (idénticos al diseño original)
     2. Estilos del modal de acceso anticipado
     3. Estilos de las páginas legales (privacidad, términos)
     4. Ajustes propios de WordPress (barra de admin, bloques, alineaciones)
   ============================================================ */

/* ============================================================
   1. LANDING — tokens y componentes (diseño original intacto)
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg-0: #060912;
  --bg-1: #0a0f1e;
  --bg-2: #111827;
  --bg-3: #1a2235;
  --surface: #0f1524;
  --surface-hover: #151c2f;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);

  --text-0: #f4f6fb;
  --text-1: #c9d1e2;
  --text-2: #8a95ae;
  --text-3: #5d6782;

  --amber: #f5b544;
  --amber-soft: #fbd38a;
  --amber-glow: rgba(245, 181, 68, 0.18);

  --cyan: #38d9f0;
  --cyan-soft: #7ee8f5;
  --cyan-glow: rgba(56, 217, 240, 0.15);

  --green: #4ade80;
  --red: #f87171;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 80px rgba(245, 181, 68, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

/* Blueprint grid background, very subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 217, 240, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 217, 240, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 80%);
  z-index: 0;
}

/* Ambient glow */
body::after {
  content: "";
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, var(--amber-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

main, nav, footer, section { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--amber); color: var(--bg-0); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text-0);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--amber);
  display: inline-block;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 120px 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 18, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  color: var(--text-0);
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

/* Keep "Fragmentalex" visually contiguous — single word, color-only accent */
.logo .logo-text,
.footer-logo .logo-text {
  font-style: normal !important;
  font-weight: inherit;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo .logo-accent,
.footer-logo .logo-accent {
  font-style: normal !important;
  font-weight: inherit;
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s ease;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text-0); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--text-0);
  color: var(--bg-0) !important;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 246, 251, 0.2);
}

@media (max-width: 768px) {
  .nav-links .hide-mobile { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: rgba(245, 181, 68, 0.08);
  border: 1px solid rgba(245, 181, 68, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber-soft);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245, 181, 68, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 181, 68, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(245, 181, 68, 0); }
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 84px);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.hero h1 .underline {
  background-image: linear-gradient(to right, var(--amber), var(--amber-soft));
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: 0 92%;
  padding: 0 2px;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, #e0a030 100%);
  color: #1a1100;
  box-shadow: 0 10px 30px rgba(245, 181, 68, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(245, 181, 68, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-0);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn svg { width: 18px; height: 18px; }

.hero-meta {
  display: flex;
  gap: 28px;
  color: var(--text-3);
  font-size: 13px;
  font-family: var(--font-mono);
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta span::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--cyan);
  border-radius: 50%;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HERO VISUAL — animated filename builder */
.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s 0.5s ease both;
}

.terminal {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 120px rgba(245, 181, 68, 0.1);
  position: relative;
}

.terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 181, 68, 0.3), rgba(56, 217, 240, 0.2) 50%, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2a3148;
}
.terminal-header-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-left: 12px;
}

.terminal-body {
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.9;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.terminal-line .idx {
  color: var(--text-3);
  flex-shrink: 0;
}

.terminal-line .cat { color: var(--amber); }
.terminal-line .desc { color: var(--text-1); }
.terminal-line .date { color: var(--cyan); }
.terminal-line .tomo { color: var(--text-2); }
.terminal-line .pag { color: var(--amber-soft); }

.terminal-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.integrity-bar {
  margin-top: 20px;
}
.integrity-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.integrity-label strong { color: var(--green); font-weight: 500; }

.integrity-track {
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.integrity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--green));
  border-radius: 3px;
  animation: fill 2.5s 0.8s ease forwards;
  width: 0;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

@keyframes fill {
  to { width: 100%; }
}

.terminal-line.line-1 { opacity: 0; animation: lineIn 0.4s 0.8s ease forwards; }
.terminal-line.line-2 { opacity: 0; animation: lineIn 0.4s 1.1s ease forwards; }
.terminal-line.line-3 { opacity: 0; animation: lineIn 0.4s 1.4s ease forwards; }
.terminal-line.line-4 { opacity: 0; animation: lineIn 0.4s 1.7s ease forwards; }

@keyframes lineIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating badges around hero visual */
.hero-floating {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
}

.hero-floating.float-1 {
  top: -18px;
  right: -30px;
  color: var(--amber);
  animation: float 6s ease-in-out infinite;
}
.hero-floating.float-2 {
  bottom: -22px;
  left: -34px;
  color: var(--cyan);
  animation: float 7s ease-in-out infinite -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 640px) {
  .hero-floating { display: none; }
  .terminal-body { padding: 18px; font-size: 11px; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 15, 30, 0.4);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

.trust-stat { text-align: left; }
.trust-stat .num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--text-0);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 144;
}
.trust-stat .num em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}
.trust-stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  max-width: 720px;
  margin-bottom: 72px;
}

.section-head h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  margin: 16px 0 20px;
}

.section-head h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.section-head p {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================
   DEMO / SCREENSHOT SECTION — accurate app mockup
   ============================================================ */
.demo {
  padding: 120px 0;
}

.demo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 4px;
  background: linear-gradient(135deg,
    rgba(245, 181, 68, 0.35) 0%,
    rgba(56, 217, 240, 0.2) 40%,
    rgba(245, 181, 68, 0.1) 100%);
  box-shadow: var(--shadow-lg), 0 0 100px rgba(245, 181, 68, 0.1);
}

.app-mock {
  background: #f7f9fc;
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  color: #1a2235;
  font-family: var(--font-body);
}

.app-titlebar {
  background: #e8ecf3;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #d5dbe5;
}

.app-titlebar-dots { display: flex; gap: 6px; }
.app-titlebar-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: #cfd5e0;
}
.app-titlebar-dots span:nth-child(1) { background: #ff5f57; }
.app-titlebar-dots span:nth-child(2) { background: #febc2e; }
.app-titlebar-dots span:nth-child(3) { background: #28c840; }

.app-titlebar-title {
  margin-left: 12px;
  font-size: 12px;
  color: #667085;
  font-weight: 500;
}

.app-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: #0b2147;
  letter-spacing: -0.02em;
}

.app-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
}

.app-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.app-file-path {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #15803d;
  font-style: normal;
}

.app-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #15803d;
  font-weight: 600;
}

.app-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.app-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.app-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.app-field.w-120 { flex: 0 0 120px; }
.app-field.w-180 { flex: 0 0 180px; }

.app-field label {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-input {
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #0f172a;
  background: white;
  font-weight: 500;
}

.app-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.app-btn-amber { background: #f59e0b; color: white; }
.app-btn-green { background: #16a34a; color: white; }

.app-preview-label {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
  font-weight: 500;
}

.app-preview-box {
  padding: 16px 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #0b2147;
  word-break: break-word;
}

.demo-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .demo-callouts { grid-template-columns: 1fr; }
  .app-body { padding: 20px; }
  .app-field.w-120, .app-field.w-180 { flex: 1 1 100%; }
}

.callout {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.callout h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-0);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.callout p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

.callout .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(245, 181, 68, 0.1);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 120px 0;
  position: relative;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .how-steps { grid-template-columns: 1fr; }
}

.step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 181, 68, 0.3);
}

.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover::before { opacity: 1; }

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 48px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-0);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================
   GOLDEN RULE SPOTLIGHT
   ============================================================ */
.golden {
  padding: 120px 0;
}

.golden-inner {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid rgba(245, 181, 68, 0.2);
  border-radius: var(--radius-xl);
  padding: 72px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.golden-inner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--amber-glow), transparent 60%);
  pointer-events: none;
}

.golden-inner > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .golden-inner { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
}

.golden h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  margin: 20px 0;
  line-height: 1.1;
  color: var(--text-0);
  letter-spacing: -0.02em;
  font-weight: 400;
}

.golden h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.golden p {
  color: var(--text-1);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
}

/* Integrity circle visualization */
.integrity-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 280px;
  margin: 0 auto;
}

.integrity-viz svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.integrity-viz .center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.integrity-viz .center .pct {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--text-0);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
}

.integrity-viz .center .pct em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.integrity-viz .center .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   USE CASES
   ============================================================ */
.cases {
  padding: 120px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
}

.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.case:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.case::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.case:hover::after { opacity: 1; }

.case-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 181, 68, 0.15), rgba(245, 181, 68, 0.05));
  border: 1px solid rgba(245, 181, 68, 0.2);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.case-icon svg { width: 22px; height: 22px; }

.case h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-0);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.case p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 22px;
}

.case ul {
  list-style: none;
  padding: 0;
}

.case li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-1);
  padding: 6px 0;
  line-height: 1.5;
}

.case li::before {
  content: "→";
  color: var(--amber);
  font-weight: 600;
  flex-shrink: 0;
}

/* ============================================================
   PRICING / PLANS
   ============================================================ */
.pricing {
  padding: 120px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 500px; }
}

.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.plan:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.plan-featured {
  background: linear-gradient(180deg, rgba(245, 181, 68, 0.06) 0%, var(--surface) 40%);
  border-color: rgba(245, 181, 68, 0.3);
  box-shadow: 0 20px 60px rgba(245, 181, 68, 0.08);
}

.plan-featured:hover { border-color: rgba(245, 181, 68, 0.5); }

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber), #e0a030);
  color: #1a1100;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.plan-head {
  margin-bottom: 24px;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: var(--text-0);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  text-align: left;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.plan-price .currency {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  color: var(--text-0);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}

.plan-price .period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-1);
  padding: 7px 0;
  line-height: 1.4;
}

.plan-features li svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-cta {
  justify-content: center;
  padding: 13px 20px !important;
  font-size: 14px !important;
}

/* BYOK card */
.byok {
  margin-top: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .byok { grid-template-columns: 1fr; padding: 30px; gap: 28px; max-width: 500px; }
}

.byok-title {
  font-size: 30px !important;
  line-height: 1.1;
  margin-top: 14px;
  margin-bottom: 14px;
  color: var(--text-0);
  letter-spacing: -0.02em;
  font-weight: 400;
}

.byok-right {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.pricing-footer {
  max-width: 1100px;
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.pricing-footer-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.pricing-footer-row svg { color: var(--amber); }

@media (max-width: 640px) {
  .plan { padding: 28px 22px; }
  .byok { padding: 24px; }
  .byok-right { padding: 22px; }
  .byok-title { font-size: 24px !important; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 120px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  padding: 28px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--text-0);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.faq-question:hover { color: var(--amber); }

.faq-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg-0);
}

.faq-icon svg { width: 14px; height: 14px; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 28px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
}

.faq-answer-inner a {
  color: var(--amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.final-cta h2 {
  font-size: clamp(40px, 6vw, 72px);
  max-width: 820px;
  margin: 0 auto 24px;
  line-height: 1.05;
}

.final-cta h2 em {
  font-style: italic;
  color: var(--amber);
  font-weight: 300;
}

.final-cta p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  background: var(--bg-0);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-0);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-logo em { color: var(--amber); }

.footer-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-2);
}

.footer-links a:hover { color: var(--text-0); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* El contenido solo se oculta si el navegador confirma que puede animarlo:
   la clase fx-reveal la pone el script del <head>, y se retira sola si
   main.js no llega a ejecutarse. Sin esa clase todo se ve, siempre. */
.reveal { transition: opacity 0.8s ease, transform 0.8s ease; }
.fx-reveal .reveal { opacity: 0; transform: translateY(28px); }
.fx-reveal .reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   JUSTIFIED BODY COPY — applies to paragraphs, not titles
   ============================================================ */
.hero-sub,
.section-head p,
.callout p,
.step p,
.case p,
.golden p,
.faq-answer-inner,
.final-cta p,
.pricing-sub,
.plan-note {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* ============================================================
   MOBILE HAMBURGER
   ============================================================ */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-0);
}

.hamburger svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 9, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 200;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-0);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}

.mobile-menu a:last-child { border-bottom: none; margin-top: 20px; }

.mobile-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  background: transparent;
  border-radius: 10px;
  color: var(--text-0);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .hamburger { display: inline-flex; }
  .nav-cta { padding: 9px 14px; font-size: 12px !important; }
}
@media (max-width: 768px) {
  section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .golden, .demo, .how, .cases, .pricing, .faq, .final-cta { padding: 80px 0; }
  .hero { padding: 40px 0 30px; }

  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-meta { flex-wrap: wrap; gap: 16px; }

  .section-head { margin-bottom: 48px; }
  .section-head h2 { font-size: clamp(28px, 7vw, 40px); }
  .section-head p { font-size: 16px; }

  .final-cta h2 { font-size: clamp(32px, 9vw, 52px); }

  .faq-question { font-size: 16px; padding: 22px 0; gap: 14px; }
  .faq-answer-inner { font-size: 15px; }

  .golden h2 { font-size: clamp(26px, 6.5vw, 36px); }
  .integrity-viz { max-width: 220px; }
  .integrity-viz .center .pct { font-size: 48px; }

  .nav-inner { padding: 14px 20px; }
  .logo { font-size: 18px; }
  .logo-mark { width: 24px; height: 24px; }

  .app-title { font-size: 20px; }
  .demo-wrap { border-radius: var(--radius-lg); }

  .trust { padding: 40px 0; }
  .trust-stat .num { font-size: 32px; }

  .plan-name { font-size: 22px; }
  .plan-price .amount { font-size: 38px; }

  .pricing-footer { gap: 14px; flex-direction: column; align-items: center; }
  .mobile-menu a { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(30px, 10vw, 44px); }
  .hero-badge { font-size: 11px; }
  .terminal-body { padding: 16px; font-size: 10.5px; line-height: 1.8; }
  .terminal-line { gap: 6px; }
  .nav-cta { display: none !important; }
}

html, body { overflow-x: hidden; max-width: 100%; }

/* ============================================================
   2. MODAL DE ACCESO ANTICIPADO
   ============================================================ */

.ea-modal {
  position: fixed; inset: 0;
  background: rgba(6, 9, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  z-index: 1000;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.ea-modal.open { opacity: 1; pointer-events: auto; }
.ea-modal-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 520px; width: 100%;
  padding: 40px 36px 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.ea-modal.open .ea-modal-card { transform: translateY(0) scale(1); }
.ea-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: transparent; border: 0; cursor: pointer;
  color: var(--text-2); padding: 6px;
  border-radius: 8px; transition: color .15s, background .15s;
}
.ea-modal-close:hover { color: var(--text-0); background: rgba(255,255,255,0.05); }
.ea-modal-close svg { width: 22px; height: 22px; }
.ea-modal-icon {
  width: 56px; height: 56px;
  background: var(--amber-glow);
  border: 1px solid rgba(245, 181, 68, 0.28);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  margin-bottom: 18px;
}
.ea-modal-icon svg { width: 26px; height: 26px; }
.ea-title { font-size: 26px; line-height: 1.15; margin-bottom: 14px; color: var(--text-0); }
.ea-title em { color: var(--amber); font-style: italic; }
.ea-text { color: var(--text-1); font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
.ea-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ea-actions .btn { flex: 1 1 200px; justify-content: center; }
.ea-fine { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 18px; }
@media (max-width: 520px) {
  .ea-modal-card { padding: 32px 24px 24px; }
  .ea-title { font-size: 22px; }
}

/* ============================================================
   3. PÁGINAS LEGALES / CONTENIDO DE WORDPRESS
   Cualquier página o entrada creada en WordPress se ve con estos
   estilos, en la misma paleta oscura de la landing.
   ============================================================ */
.page-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 32px 120px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 32px;
  transition: color 0.15s ease;
}
.page-back:hover { color: var(--amber); }

.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-0);
  margin-bottom: 10px;
}

.page-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.page-body { font-size: 16px; line-height: 1.75; color: var(--text-1); }

.page-body > * + * { margin-top: 18px; }

.page-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-top: 52px;
  margin-bottom: 4px;
}
.page-body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-0);
  margin-top: 32px;
  margin-bottom: 2px;
}
.page-body h4 { font-weight: 600; font-size: 15px; color: var(--text-0); margin-top: 24px; }

.page-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.page-body a:hover { color: var(--cyan-soft); }

.page-body strong { color: var(--text-0); font-weight: 600; }
.page-body em { font-style: italic; }

.page-body ul, .page-body ol { padding-left: 22px; }
.page-body li { margin: 8px 0; }
.page-body li::marker { color: var(--amber); }

.page-body code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  color: var(--amber-soft);
}

.page-body blockquote {
  border-left: 2px solid var(--amber);
  padding-left: 18px;
  color: var(--text-2);
  font-style: italic;
}

.page-body hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* Aviso destacado dentro de las páginas legales */
.page-body .aviso {
  background: rgba(245, 181, 68, 0.08);
  border: 1px solid rgba(245, 181, 68, 0.28);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-1);
  margin: 28px 0;
}

/* Tablas */
.page-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.page-body table {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  font-size: 14.5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-body th, .page-body td {
  border-bottom: 1px solid var(--border);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
.page-body th {
  background: var(--bg-2);
  font-weight: 600;
  color: var(--text-0);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.page-body tr:last-child td { border-bottom: 0; }

.page-body img,
.page-body iframe,
.page-body video { max-width: 100%; height: auto; border-radius: var(--radius-md); }

.page-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding-top: 22px;
  color: var(--text-3);
  font-size: 13px;
}
.page-footer a { color: var(--text-2); }
.page-footer a:hover { color: var(--amber); }

@media (max-width: 640px) {
  .page-shell { padding: 48px 22px 80px; }
  .page-body h2 { margin-top: 40px; }
}

/* Listado de entradas (por si se activa un blog) */
.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 28px 30px;
  margin-bottom: 20px;
}
.post-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--text-0); margin-bottom: 6px; }
.post-card .post-date { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.post-card p { color: var(--text-2); margin-top: 10px; }

.page-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; font-size: 14px; }
.page-nav a { color: var(--text-2); }
.page-nav a:hover { color: var(--amber); }

/* 404 */
.error-404 { text-align: center; padding: 120px 24px 140px; }
.error-404 .code { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; color: var(--amber); text-transform: uppercase; }
.error-404 h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; color: var(--text-0); margin: 14px 0 12px; }
.error-404 p { color: var(--text-2); max-width: 480px; margin: 0 auto 28px; }

/* ============================================================
   4. AJUSTES DE WORDPRESS
   ============================================================ */

/* La barra de administración es fija: la nav pegajosa debe quedar debajo */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}

/* Accesibilidad: salto al contenido */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  clip: auto !important;
  clip-path: none;
  color: var(--amber);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 16px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 16px;
  width: auto;
  z-index: 100000;
}

/* Alineaciones y bloques del editor */
.alignleft { float: left; margin-right: 24px; margin-bottom: 12px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 12px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 8px; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* Si el usuario no quiere animación de entrada, se respeta */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx-reveal .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
