/* =============================================================
   JotaVerso · Landing
   Arquetipo: Mouse-Reactive Gradient (tech, marca personal)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:      #0B0B0F;
  --bg-2:    #13131A;
  --bg-3:    #1B1B24;
  --line:    rgba(255,255,255,.08);
  --line-2:  rgba(255,255,255,.14);
  --ink:     #F5F3EF;
  --mute:    #A1A1AA;
  --accent:  #FF6A1A;   /* naranja innovación */
  --accent-2:#FFB020;   /* ámbar: cifras y destellos */
  --cool:    #4F7CFF;   /* azul eléctrico: contrapunto de datos */
  --ok:      #2BD67B;
  --wa:      #25D366;

  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 18px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--accent); color: var(--bg);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); letter-spacing: 0; }
.accent-word {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  transition: transform .4s var(--ease-out), background .3s, box-shadow .3s, color .3s;
  will-change: transform;
}
.btn-sm { padding: .65rem 1.05rem; font-size: .88rem; }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn-primary {
  background: var(--accent); color: #140A04;
  box-shadow: 0 0 0 0 rgba(255,106,26,.5), 0 10px 30px -10px rgba(255,106,26,.7);
}
.btn-primary:hover { background: #FF7D36; box-shadow: 0 0 0 6px rgba(255,106,26,.15), 0 18px 40px -12px rgba(255,106,26,.9); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background: transparent; border: 1px solid rgba(37,211,102,.5); color: var(--ink); }
.btn-wa svg { color: var(--wa); }
.btn-wa:hover { background: rgba(37,211,102,.12); border-color: var(--wa); }

.card-glass {
  background: rgba(22,22,30,.92);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.05);
}
@supports (backdrop-filter: blur(16px)) {
  .card-glass { background: rgba(22,22,30,.62); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}

/* Etiquetas de canal */
.ch {
  --c: var(--mute);
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .75rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: .8rem; font-weight: 500; white-space: nowrap; color: var(--ink);
}
.ch::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.ch-ml   { --c: #FFE600; }
.ch-fa   { --c: #AAD500; }
.ch-ex   { --c: #FFD200; }
.ch-sh   { --c: #95BF47; }
.ch-wc   { --c: #9B5CD0; }
.ch-ads  { --c: var(--accent); }
.ch-ga   { --c: #F9AB00; }
.ch-meta { --c: var(--cool); }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11,11,15,.82); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(12px)) { .nav.is-scrolled { background: rgba(11,11,15,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #140A04; font-size: 1.05rem;
}
.brand-name span { color: var(--accent); }
.nav-links { display: none; gap: 2rem; font-size: .92rem; color: var(--mute); }
.nav-links a { position: relative; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---- Hero ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: 110px; display: flex; flex-direction: column; isolation: isolate; }
.hero-gradient, .contact-gradient {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle 520px at var(--mx, 70%) var(--my, 35%), rgba(255,106,26,.55) 0%, transparent 60%),
    radial-gradient(circle 680px at calc(var(--mx, 70%) - 25%) calc(var(--my, 35%) + 30%), rgba(79,124,255,.28) 0%, transparent 60%),
    radial-gradient(circle 420px at calc(var(--mx, 70%) + 15%) calc(var(--my, 35%) - 20%), rgba(255,176,32,.32) 0%, transparent 60%);
  filter: blur(50px) saturate(140%);
  opacity: .85;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-inner { flex: 1; display: grid; gap: 3.5rem; align-items: center; padding-block: 2rem 4rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .78rem; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; padding: .45rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(43,214,123,.6); animation: pulse 2.2s infinite; }
.hero-title { font-size: clamp(2.5rem, 9vw, 5rem); margin-top: 1.4rem; line-height: .98; text-wrap: initial; }
@media (min-width: 960px) { .hero-title { font-size: clamp(3.4rem, 5.4vw, 5.4rem); white-space: nowrap; } }
.strike-word { position: relative; color: var(--mute); }
.strike-word::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .08em; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: strike 1s .9s var(--ease-out) forwards; }
.hero-sub { margin-top: 1.5rem; max-width: 52ch; color: #CFCFD6; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.hero-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin-top: 2rem; color: var(--accent); font-size: .85rem; }

.hero-visual { position: relative; min-height: 420px; perspective: 1200px; }
.dash { position: relative; padding: 1.2rem; transform-style: preserve-3d; transition: transform .6s var(--ease-out); max-width: 520px; margin-inline: auto; }
.dash-head { display: flex; align-items: center; gap: .8rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.dots i:first-child { background: #FF5F57; } .dots i:nth-child(2) { background: #FEBC2E; } .dots i:nth-child(3) { background: #28C840; }
.dash-title { font-size: .72rem; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
.kpi { padding: .8rem; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.kpi-label { font-size: .7rem; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.kpi-value { font-family: var(--display); font-size: clamp(1.25rem, 3vw, 1.7rem); font-weight: 700; }
.kpi-delta { font-size: .66rem; color: var(--ok); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-chart { margin-top: 1rem; height: 150px; border-radius: 12px; background: rgba(255,255,255,.02); border: 1px solid var(--line); padding: .6rem; overflow: hidden; }
.dash-chart svg { width: 100%; height: 100%; }
.chart-grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s .5s var(--ease-out) forwards; }
.chart-area { opacity: 0; animation: fadeIn 1.2s 1.6s forwards; }
.chart-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 3; opacity: 0; animation: fadeIn .4s 2.5s forwards; }
.dash-foot { margin-top: .6rem; font-size: .66rem; color: #6B6B75; text-align: right; }

.float-card { position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; font-size: .82rem; transition: transform .3s var(--ease-out); animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; font-weight: 600; }
.float-card span { color: var(--mute); font-size: .74rem; }
.fc-icon { font-size: 1.2rem; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,230,0,.12); }
.fc-badge { padding: .3rem .5rem; border-radius: 8px; background: rgba(43,214,123,.14); color: var(--ok) !important; font-size: .82rem !important; font-weight: 500; }
.fc-order { top: -14px; right: 0; }
.fc-sale  { bottom: 24px; left: -6px; animation-delay: -2s; }
.fc-goal  { bottom: -26px; right: 8%; animation-delay: -4s; }
.ring { --p: 70; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), rgba(255,255,255,.08) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--bg-2); }
.ring span { position: relative; font-size: .62rem !important; color: var(--ink) !important; font-family: var(--mono); }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(11,11,15,.6); overflow: hidden; padding-block: 1rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.channels { display: flex; gap: .8rem; padding-right: .8rem; }
.channels .ch { font-size: .9rem; padding: .5rem 1rem; }

/* ---- Secciones genéricas ---- */
.section { position: relative; padding-block: clamp(5rem, 11vw, 9rem); }
.section-label { color: var(--accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 5.2vw, 3.8rem); max-width: 20ch; }
.section-lead { margin-top: 1.2rem; max-width: 58ch; color: #CFCFD6; font-size: 1.08rem; }

/* ---- Problema: vs ---- */
.vs { margin-top: 3rem; display: grid; gap: 1rem; }
.vs-col { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.vs-col h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.vs-col li { position: relative; padding: .7rem 0 .7rem 2rem; border-top: 1px solid var(--line); color: #CFCFD6; }
.vs-col li::before { position: absolute; left: 0; top: .7rem; font-family: var(--mono); font-weight: 500; }
.vs-luck h3 { color: var(--mute); }
.vs-luck li::before { content: "✕"; color: #FF5F57; }
.vs-luck li { text-decoration: line-through; text-decoration-color: rgba(255,95,87,.0); transition: text-decoration-color .6s; }
.vs-luck:hover li { text-decoration-color: rgba(255,95,87,.6); }
.vs-data { border-color: rgba(255,106,26,.45); background: linear-gradient(160deg, rgba(255,106,26,.12), var(--bg-2) 55%); box-shadow: 0 30px 80px -40px rgba(255,106,26,.6); }
.vs-data li::before { content: "✓"; color: var(--accent); }
.vs-divider { display: grid; place-items: center; }
.vs-divider span { font-family: var(--mono); color: var(--mute); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }

/* ---- Método: recorrido de 4 pasos ---- */
.method { margin-top: clamp(5rem, 10vw, 8rem); }
.steps { margin-top: 3rem; display: grid; gap: 1rem; counter-reset: step; position: relative; }
.step { position: relative; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .4s, transform .5s var(--ease-out), background .4s; }
.step:hover { border-color: rgba(255,106,26,.5); transform: translateY(-4px); }
.step.is-active { border-color: rgba(255,106,26,.55); background: linear-gradient(180deg, rgba(255,106,26,.10), var(--bg-2)); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,106,26,.12); color: var(--accent); font-size: .9rem; margin-bottom: 1.2rem; transition: background .4s, color .4s; }
.step.is-active .step-num { background: var(--accent); color: #140A04; }
.step h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.step p { color: var(--mute); font-size: .96rem; }
.steps-progress { margin-top: 1.5rem; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.steps-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform .2s linear; }

/* ---- Servicios (acordeón) ---- */
.svc-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); transition: background .4s; }
.svc[open] { background: linear-gradient(90deg, rgba(255,106,26,.06), transparent 70%); }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .6rem 1.2rem; align-items: center; padding: 1.6rem .4rem; }
.svc summary::-webkit-details-marker { display: none; }
.svc-num { color: var(--accent); font-size: .85rem; }
.svc-name { font-family: var(--display); font-size: clamp(1.3rem, 3.2vw, 2.2rem); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; transition: color .3s, transform .5s var(--ease-out); }
.svc summary:hover .svc-name { color: var(--accent); transform: translateX(6px); }
.svc-tags { grid-column: 2 / 3; display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-toggle { grid-row: 1; grid-column: 3; position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease-out), background .3s, border-color .3s; }
.svc-toggle::before, .svc-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.svc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc[open] .svc-toggle { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.svc[open] .svc-toggle::before, .svc[open] .svc-toggle::after { background: #140A04; }
.svc-body { padding: 0 .4rem 2rem; display: grid; gap: 1.2rem; max-width: 900px; }
.svc-points { display: grid; gap: .5rem; }
.svc-points li { position: relative; padding-left: 1.6rem; color: var(--mute); font-size: .95rem; }
.svc-points li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.svc[open] .svc-body { animation: slideDown .6s var(--ease-out); }

/* ---- Cifras ---- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); isolation: isolate; }
.stats-glow { position: absolute; inset: -20% 10% auto; height: 70%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(255,106,26,.18), transparent 70%); filter: blur(60px); pointer-events: none; }
.stats-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 2rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.stat-value { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--accent-2); }
.stat-label { color: var(--mute); font-size: .92rem; max-width: 26ch; }

.about { margin-top: clamp(4rem, 8vw, 6rem); display: grid; gap: 2rem; align-items: center; }
.photo-ph {
  aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: var(--radius);
  border: 1px dashed rgba(255,106,26,.5);
  background:
    repeating-linear-gradient(135deg, rgba(255,106,26,.07) 0 12px, transparent 12px 24px),
    radial-gradient(80% 60% at 50% 30%, rgba(255,106,26,.18), transparent 70%),
    var(--bg-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  color: var(--accent); font-size: .9rem;
}
.ph-size { color: var(--mute); font-size: .72rem; }
.about-copy h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.about-copy p:not(.section-label) { color: #CFCFD6; max-width: 52ch; }
.creds { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.creds li { padding: .45rem .8rem; border-radius: 999px; border: 1px solid rgba(255,106,26,.35); background: rgba(255,106,26,.06); font-size: .82rem; color: var(--ink); }
.about-sign { margin-top: 1.2rem; color: var(--accent) !important; }

/* ---- Testimonios ---- */
.t-grid { margin-top: 3rem; display: grid; gap: 1rem; perspective: 1000px; }
.t-card { position: relative; padding: 2rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; transition: border-color .4s, transform .5s var(--ease-out); transform-style: preserve-3d; }
.t-card::before { content: "“"; position: absolute; top: .4rem; right: 1.4rem; font-family: var(--display); font-size: 5rem; line-height: 1; color: rgba(255,106,26,.25); }
.t-card:hover { border-color: rgba(255,106,26,.45); }
.t-card blockquote { font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.t-card figcaption { display: flex; align-items: center; gap: .9rem; font-size: .85rem; color: var(--mute); }
.t-card figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.avatar-ph { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; color: var(--accent); background: var(--bg-3); border: 1px dashed rgba(255,106,26,.5); }

/* ---- Contacto ---- */
.contact { overflow: clip; isolation: isolate; text-align: center; }
.contact-gradient { opacity: .7; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-title { font-size: clamp(2.6rem, 8vw, 6rem); line-height: .98; max-width: 14ch; }
.contact .section-lead { margin-inline: auto; }
.contact-mail { margin-top: 1.6rem; color: var(--mute); font-size: 1rem; }
.contact-mail a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: color .3s; user-select: all; }
.contact-mail a:hover { color: var(--accent); }
.copy-btn { margin-left: .5rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .75rem; color: var(--mute); transition: color .3s, border-color .3s; }
.copy-btn:hover, .copy-btn.is-done { color: var(--accent); border-color: var(--accent); }
.contact-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: .88rem; color: var(--mute); }
.footer-inner { display: grid; gap: 1.2rem; justify-items: start; }
.socials { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.socials a { transition: color .3s; }
.socials a:hover { color: var(--accent); }
.copy { font-size: .8rem; color: #6B6B75; }

/* Cursor glow (solo con mouse) */
.cursor-glow { position: fixed; top: 0; left: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(255,106,26,.10), transparent 65%); opacity: 0; transition: opacity .4s; mix-blend-mode: screen; }
.cursor-glow.is-ready { opacity: 1; }


.svc-text { display: grid; gap: 1.2rem; align-content: start; }
.svc-text > p { color: #CFCFD6; font-size: 1.05rem; }

/* =============================================================
   7. Effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,214,123,.6); } 70% { box-shadow: 0 0 0 10px rgba(43,214,123,0); } 100% { box-shadow: 0 0 0 0 rgba(43,214,123,0); } }
@keyframes strike { to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 539px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-kpis .kpi:last-child { display: none; }
  .fc-goal { display: none; }
  .fc-order { right: -4px; top: -24px; }
  .fc-sale { left: -4px; bottom: -22px; }
  .nav .btn-sm { padding: .6rem .8rem; font-size: .8rem; }
}
@media (min-width: 540px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-inner .copy { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .vs { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .t-grid { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: minmax(240px, 380px) 1fr; gap: 4rem; }
  .svc summary { grid-template-columns: 60px 1fr auto; }
  .svc-body { padding-left: calc(60px + 1.6rem); }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .svc summary { grid-template-columns: 60px 1fr auto auto; }
  .svc-tags { grid-column: 3; grid-row: 1; justify-content: flex-end; }
  .svc-toggle { grid-column: 4; }
  .fc-sale { left: -40px; }
}
@media (min-width: 1280px) {
  .fc-order { right: -30px; }
}

/* =============================================================
   9. Reduced motion (solo efectos intrusivos)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 80s; }
  .float-card { animation: none; }
  .pulse-dot { animation: none; }
}

/* =============================================================
   10. WordPress: blog, artículos y páginas
   ============================================================= */
.nav.is-scrolled, body:not(.home) .nav { background: rgba(11,11,15,.82); border-bottom-color: var(--line); }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.page-wrap { padding-top: 140px; padding-bottom: clamp(4rem, 9vw, 7rem); min-height: 70vh; }
.page-head { margin-bottom: 3rem; }
.page-title { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 22ch; }
.post-meta { color: var(--mute); font-size: .78rem; margin-bottom: 1rem; }
.post-meta a:hover { color: var(--accent); }

.post-grid { display: grid; gap: 1rem; }
.post-card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; transition: border-color .4s, transform .5s var(--ease-out); }
.post-card:hover { border-color: rgba(255,106,26,.5); transform: translateY(-4px); }
.post-card-link { display: flex; flex-direction: column; height: 100%; }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.post-card-body h2 { font-size: 1.4rem; }
.post-card-body p:not(.post-meta) { color: var(--mute); font-size: .95rem; }
.post-card .post-meta { margin: 0; }
.post-more { margin-top: auto; color: var(--accent); font-weight: 600; font-size: .9rem; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.empty { color: var(--mute); font-size: 1.1rem; }
.empty a { color: var(--accent); }

.article { max-width: 820px; }
.article-media { margin-bottom: 2.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.entry { font-size: 1.08rem; line-height: 1.75; color: #D8D8DE; }
.entry > * + * { margin-top: 1.3rem; }
.entry h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-top: 3rem; color: var(--ink); }
.entry h3 { font-size: 1.4rem; margin-top: 2.2rem; color: var(--ink); }
.entry a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.4rem; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .4rem; }
.entry li::marker { color: var(--accent); }
.entry blockquote { border-left: 3px solid var(--accent); padding: .4rem 0 .4rem 1.4rem; font-family: var(--display); font-size: 1.35rem; color: var(--ink); }
.entry img, .entry figure { border-radius: 12px; height: auto; }
.entry figcaption { font-size: .85rem; color: var(--mute); margin-top: .5rem; }
.entry code { font-family: var(--mono); font-size: .9em; background: var(--bg-3); padding: .15em .4em; border-radius: 6px; }
.entry pre { overflow-x: auto; background: var(--bg-3); padding: 1.2rem; border-radius: 12px; }
.entry table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line-2); padding: .6rem .8rem; text-align: left; }
.entry .wp-block-button__link { background: var(--accent); color: #140A04; border-radius: 999px; padding: .85rem 1.4rem; font-weight: 600; text-decoration: none; }
.entry .alignwide { max-width: 1100px; }
.entry .aligncenter { margin-inline: auto; }
.article-cta { margin-top: 4rem; padding: 2.4rem; border-radius: var(--radius); border: 1px solid rgba(255,106,26,.45); background: linear-gradient(160deg, rgba(255,106,26,.12), var(--bg-2) 60%); display: grid; gap: 1rem; justify-items: start; }
.article-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.article-cta p { color: #CFCFD6; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
