:root {
  /* Paleta de marca */
  --brand:     #E31E24;
  --brand-dark: #6B0000;
  --brand-06:  rgba(227, 30, 36, 0.06);
  --brand-08:  rgba(227, 30, 36, 0.08);
  --brand-10:  rgba(227, 30, 36, 0.10);
  --brand-15:  rgba(227, 30, 36, 0.15);
  --brand-20:  rgba(227, 30, 36, 0.20);
  --brand-30:  rgba(227, 30, 36, 0.30);
  --brand-40:  rgba(227, 30, 36, 0.40);
  --brand-50:  rgba(227, 30, 36, 0.50);

  /* Superficies */
  --surface-0:  #0a0a0a;
  --surface-0b: #0d0d0d;
  --surface-1:  #1a1a1a;
  --surface-1b: #111111;
  --surface-2:  #2a2a2a;
}

/* ── Keyframes globales reutilizables ── */
@keyframes ui-pulso {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

@keyframes ui-entrada {
  to { opacity: 1; transform: translateY(0); }
}

html, body {
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-wrap: balance;
}
/* ── SECCIÓN REDES SOCIALES — MOCKUP MÓVIL ── */
.rrss-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px 0;
}
.rrss-phone {
    width: 260px;
    background: var(--surface-1);
    border-radius: 36px;
    border: 2px solid var(--surface-2);
    padding: 20px 16px 28px;
    box-shadow: 0 0 60px var(--brand-08);
    position: relative;
}
.rrss-notch {
    width: 80px;
    height: 8px;
    background: var(--surface-2);
    border-radius: 4px;
    margin: 0 auto 20px;
}
.rrss-screen {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.rrss-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--surface-2);
}
.rrss-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-1);
    flex-shrink: 0;
    overflow: hidden;
}
.rrss-account {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.rrss-plataforma {
    font-size: 9px;
    color: #555555;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 2px;
}
.rrss-metrica {
    opacity: 0;
    animation: rrss-aparecer .5s ease forwards;
}
.rrss-metrica-valor {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1;
}
.rrss-metrica-label {
    font-size: 10px;
    color: #888888;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 3px 0 7px;
}
.rrss-barra {
    height: 3px;
    background: var(--surface-2);
    border-radius: 2px;
    overflow: hidden;
}
.rrss-barra-fill {
    height: 100%;
    background: linear-gradient(to right, var(--brand), var(--brand-dark));
    border-radius: 2px;
    width: 0;
}
.rrss-badge {
    font-size: 10px;
    color: var(--brand);
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--brand-08);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    opacity: 0;
    animation: rrss-aparecer .5s ease forwards;
}
@keyframes rrss-aparecer { to { opacity: 1; } }
@keyframes rrss-barra    { to { width: var(--w, 100%); } }

.rrss-imagen {
    position: relative;
    overflow: hidden;
}
.rrss-imagen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 100%;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.rrss-imagen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #000000 10%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
/* ── GEO — CHAT MOCKUP ── */
.geo-chat-wrap {
    height: 100%;
    display: flex;
    align-items: center;
}
.geo-chat {
    background: var(--surface-1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.geo-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--surface-2);
}
.geo-chat-logos {
    display: flex;
    gap: 4px;
}
.geo-chat-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: #888;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.geo-chat-name {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.geo-chat-sub {
    font-size: 10px;
    color: #555;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 2px;
}
.geo-bubble-user {
    background: var(--surface-2);
    border-radius: 10px 10px 2px 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #aaa;
    align-self: flex-end;
    max-width: 85%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.5;
}
.geo-bubble-ai {
    background: var(--brand-06);
    border: 1px solid var(--brand-15);
    border-radius: 2px 10px 10px 10px;
    padding: 16px;
    font-size: 13px;
    color: #cccccc;
    line-height: 1.7;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.geo-bubble-ai strong {
    color: var(--brand);
}
.geo-platforms {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.geo-platform-pill {
    font-size: 11px;
    color: var(--brand);
    background: var(--brand-08);
    border-radius: 6px;
    padding: 5px 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}
.pf-wrap { background: var(--surface-0); font-family: 'Plus Jakarta Sans', sans-serif; min-height: 300vh; position: relative; }
.pf-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.pf-center { text-align: center; position: relative; z-index: 10; max-width: 360px; }
.pf-eye { font-size: 16px; font-weight: 600; letter-spacing: 0.18em; color: var(--brand); text-transform: uppercase; margin: 0 0 10px; }
.pf-title { font-size: clamp(42px, 4vw, 55px); /* corregido: min y max estaban invertidos */ font-weight: 800; color: #fff; line-height: 1.1; margin: 0 0 12px; }
.pf-title span { color: var(--brand); }
.pf-sub { font-size: 18px; color: #888; line-height: 1.6; margin: 0 0 20px; }
.pf-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); padding: 11px 24px; border-radius: 50px; font-size: 13px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; }
a.pf-btn,
a.pf-btn:hover,
a.pf-btn:visited,
a.pf-btn:active {
  color: #ffffff !important;
  text-decoration: none !important;
}
.pf-imgs { position: absolute; inset: 0; pointer-events: none; }
.pf-img { position: absolute; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.pf-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #f0f0f0 0%, #ddd 100%); display: flex; align-items: flex-end; padding: 12px; }
.pf-img-label { font-size: 12px; font-weight: 700; color: #555; background: rgba(255,255,255,0.9); padding: 4px 10px; border-radius: 20px; }
.img-1 { width: 448px; height: 268px; left: 2%; top: 50%; }
.img-2 { width: 448px; height: 268px; left: 8%; top: 25%; }
.img-3 { width: 448px; height: 268px; left: 5%; top: 70%; }
.img-4 { width: 448px; height: 268px; right: 2%; top: 50%; }
.img-5 { width: 448px; height: 268px; right: 8%; top: 20%; }
.img-6 { width: 448px; height: 268px; right: 5%; top: 72%; }

/* ── CARDS DE PRECIOS ── */
.precio-card {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.precio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(to top, var(--brand) 0%, var(--brand-dark) 40%, #333333 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.precio-card:hover::before {
    opacity: 1;
}

.precio-card:hover {
    transform: translateY(-6px);
}

/* Card destacada — borde rojo siempre visible */
.precio-destacada::before {
    opacity: 1;
}

.precio-destacada:hover {
    transform: translateY(-6px);
}
.pf-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 999;
    width: fit-content;
}

.pf-scroll-hint span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.pf-scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.pf-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand);
    animation: bajar 1.5s ease-in-out infinite;
}

@keyframes bajar {
    0% { top: -100%; }
    100% { top: 100%; }
}
/* ── MAPA SEO LOCAL LOCALO STYLE ── */
.mapa-wrap {
    background: #0e1117;
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.mapa-header {
    padding: 14px 18px;
    border-bottom: 1px solid #1e2330;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mapa-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mapa-url {
    flex: 1;
    background: #1a1f2e;
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 11px;
    color: #555;
}
.mapa-body {
    overflow: hidden;
}
.mapa-body svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 460px;
}
.mapa-leyenda {
    background: #141820;
    border-top: 1px solid #1e2330;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.ley-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: #888;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.ley-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
/* ── ANCLAS SERVICIOS PIRÁMIDE ── */
.sa-wrap{background:#000000;padding:60px 40px;}
.sa-head{text-align:center;margin-bottom:48px;}
.sa-eye{font-size:11px;font-weight:600;letter-spacing:0.18em;color:var(--brand);text-transform:uppercase;margin:0 0 10px;}
.sa-h2{font-size:clamp(20px,3vw,32px);font-weight:800;color:#fff;margin:0;}
.sa-h2 span{color:var(--brand);}
.sa-piramide{display:flex;flex-direction:column;align-items:center;gap:14px;max-width:900px;margin:0 auto;}
.sa-fila{display:flex;gap:14px;justify-content:center;}
.sa-card{background:var(--surface-1b);border:1px solid var(--brand);border-radius:14px;padding:22px 24px;display:flex;align-items:center;gap:14px;cursor:pointer;text-decoration:none;width:190px;transform:translateY(80px);opacity:0;will-change:transform;}
.sa-card-icon{width:44px;height:44px;border-radius:10px;background:var(--brand-10);border:1px solid var(--brand-20);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.sa-card-icon i{font-size:22px;color:var(--brand);}
.sa-card-nombre{font-size:13px;font-weight:700;color:#fff;line-height:1.3;}
.sa-card-sub{font-size:11px;color:#888;margin-top:2px;}
/* ── SEO CHART ── */
.seo-chart-wrap{background:var(--surface-1b);border-radius:16px;padding:24px;border:1px solid var(--surface-1);}
.seo-chart-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px;}
.seo-chart-label{font-size:11px;color:#555;text-transform:uppercase;letter-spacing:0.1em;margin:0 0 4px;}
.seo-chart-num{font-size:28px;font-weight:800;color:#fff;margin:0;}
.seo-chart-badge{display:flex;align-items:center;gap:6px;background:var(--brand-10);border:1px solid var(--brand-20);padding:6px 12px;border-radius:20px;color:var(--brand);font-size:13px;font-weight:700;}
.seo-chart-footer{display:flex;justify-content:space-between;margin-top:8px;}
.seo-chart-footer span{font-size:10px;color:#333;}
.seo-keywords{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--surface-1);}
.seo-kw{display:flex;align-items:center;gap:8px;font-size:12px;color:#666;opacity:0;}
.seo-kw i{color:var(--brand);font-size:14px;}
.seo-kw span{flex:1;}
.seo-pos{font-weight:700;color:var(--brand);background:var(--brand-08);padding:2px 8px;border-radius:20px;}
/* ── ECOMMERCE MOCKUP ── */
.ec-wrap{background:var(--surface-1b);border-radius:16px;overflow:hidden;border:1px solid var(--surface-1);}
.ec-header{background:var(--surface-1);padding:10px 16px;display:flex;align-items:center;gap:12px;}
.ec-dots{display:flex;gap:6px;}
.ec-dots span{width:10px;height:10px;border-radius:50%;display:block;}
.ec-url{flex:1;background:var(--surface-0b);border-radius:4px;padding:4px 10px;font-size:11px;color:#444;text-align:center;}
.ec-body{padding:20px;}
.ec-producto{display:grid;grid-template-columns:1fr 1.4fr;gap:16px;margin-bottom:16px;}
.ec-img{background:var(--surface-1);border-radius:10px;height:140px;display:flex;align-items:center;justify-content:center;}
.ec-img i{font-size:40px;color:#333;}
.ec-categoria{font-size:10px;color:var(--brand);font-weight:600;letter-spacing:0.1em;text-transform:uppercase;margin:0 0 4px;}
.ec-nombre{font-size:13px;font-weight:700;color:#fff;margin:0 0 6px;line-height:1.3;}
.ec-estrellas{font-size:11px;color:var(--brand);margin-bottom:8px;}
.ec-estrellas span{color:#555;}
.ec-precio-wrap{display:flex;align-items:center;gap:8px;margin-bottom:8px;}
.ec-precio-antes{font-size:12px;color:#333;text-decoration:line-through;}
.ec-precio{font-size:22px;font-weight:800;color:var(--brand);}
.ec-stock{font-size:11px;color:#555;display:flex;align-items:center;gap:4px;margin-bottom:12px;}
.ec-stock i{color:#28c840;}
.ec-btn{width:100%;background:var(--brand);color:#fff;border:none;padding:10px;border-radius:8px;font-size:12px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:transform 0.2s;}
.ec-btn:hover{transform:scale(1.02);}
.ec-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding-top:12px;border-top:1px solid var(--surface-1);}
.ec-stat-item{text-align:center;padding:8px;}
.ec-stat-num{display:block;font-size:18px;font-weight:800;color:var(--brand);}
.ec-stat-label{font-size:10px;color:#555;margin-top:2px;display:block;}
.ec-carrito{background:rgba(40,200,64,0.1);border-top:1px solid rgba(40,200,64,0.2);padding:10px 20px;font-size:12px;color:#28c840;display:flex;align-items:center;gap:8px;opacity:0;transform:translateY(10px);transition:opacity 0.4s,transform 0.4s;}
.ec-carrito i{font-size:14px;}
#geo-terminal {
  background: var(--surface-0b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  width: 550px;
  height: 768px;
  max-width: 100%;
  box-shadow: 0 0 40px var(--brand-15);
  display: flex;
  flex-direction: column;
}

.gt-header {
  background: var(--surface-1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #222;
  flex-shrink: 0;
}

.gt-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.gt-red    { background: var(--brand); }
.gt-yellow { background: #f59e0b; }
.gt-green  { background: #22c55e; }

.gt-title {
  color: #666;
  font-size: 12px;
  margin-left: 8px;
  letter-spacing: 0.05em;
}

.gt-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  overflow: hidden;
}

.gt-section-label {
  color: #444;
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-top: 8px;
  margin-bottom: 2px;
}

.gt-line {
  font-size: 13px;
  line-height: 1.7;
  min-height: 22px;
  color: #aaa;
}

.gt-line.success { color: #22c55e; }
.gt-line.accent  { color: var(--brand); font-weight: bold; }
.gt-line.muted   { color: #555; }

.gt-divider {
  border-top: 1px solid #1e1e1e;
  margin: 10px 0;
}

.gt-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}

.gt-bar-label {
  color: #555;
  font-size: 11px;
  min-width: 130px;
}

.gt-bar {
  flex: 1;
  height: 6px;
  background: var(--surface-1);
  border-radius: 3px;
  overflow: hidden;
}

.gt-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 1.5s ease;
}

.gt-bar-low  { background: var(--brand); }
.gt-bar-high { background: #22c55e; }

.gt-bar-pct {
  color: var(--brand);
  font-size: 12px;
  font-weight: bold;
  min-width: 36px;
  text-align: right;
}

.gt-pct-success { color: #22c55e; }

.gt-cursor {
  color: var(--brand);
  font-size: 14px;
  padding: 0 28px 20px;
  flex-shrink: 0;
  animation: parpadeo 1s step-end infinite;
}

@keyframes parpadeo {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
/* ── Cards IA · Border Draw ─────────────────────────── */
.gt-ia-card {
  position: relative;
  overflow: hidden;
}

.gt-ia-card::before,
.gt-ia-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.gt-ia-card::before {
  border: 1px solid var(--brand);
  transition: border-color 0.3s ease;
}

.gt-ia-card::after {
  background: linear-gradient(135deg, var(--brand-08) 0%, transparent 60%);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.gt-ia-card:hover::before {
  border-color: transparent;
}

.gt-ia-card:hover::after {
  opacity: 0;
}
/* ── Google Simulator ────────────────────────────────── */
#google-sim {
  background: var(--surface-1b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  max-width: 580px;
}

.gs-header {
  background: var(--surface-0b);
  padding: 16px 20px;
  border-bottom: 1px solid #222;
}

.gs-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.gs-search-bar {
  display: flex;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid #333;
  border-radius: 24px;
  padding: 10px 18px;
  gap: 10px;
  margin-bottom: 12px;
}

.gs-search-icon { font-size: 14px; color: #666; }

.gs-search-text {
  color: #fff;
  font-size: 14px;
  flex: 1;
}

.gs-cursor {
  color: #4285F4;
  animation: parpadeo 1s step-end infinite;
  font-weight: 300;
}

.gs-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}

.gs-tab {
  color: #666;
  font-size: 13px;
  cursor: pointer;
  padding-bottom: 4px;
}

.gs-tab.active {
  color: #4285F4;
  border-bottom: 2px solid #4285F4;
}

.gs-meta {
  color: #555;
  font-size: 11px;
}

.gs-results {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gs-result {
  opacity: 0;
  transform: translateY(8px);
}

.gs-result.gs-visible {
  animation: ui-entrada 0.4s ease forwards;
  animation-delay: var(--d);
}

/* [ver :root] @keyframe unificado arriba */

.gs-favicon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.gs-url {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.gs-domain {
  color: #34A853;
  font-size: 13px;
  font-weight: 500;
}

.gs-breadcrumb {
  color: #555;
  font-size: 12px;
}

.gs-title {
  color: #4285F4;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  cursor: pointer;
}

.gs-title:hover { text-decoration: underline; }

.gs-title-red { color: var(--brand); }

.gs-desc {
  color: #aaa;
  font-size: 13px;
  line-height: 1.5;
}

/* Featured snippet */
.gs-result--featured {
  border-left: 3px solid var(--brand);
  padding-left: 14px;
}

.gs-snippet {
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
}

.gs-snippet-title {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.gs-snippet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gs-snippet-list li {
  color: #34A853;
  font-size: 12px;
}
/* ── SEO Gráfica ─────────────────────────────────────── */
#seo-grafica {
  width: 100%;
  max-width: 580px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.sg-bars {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  height: 380px;
  padding-bottom: 12px;
  border-bottom: 1px solid #222;
}

.sg-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 16px;
}

.sg-bar-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sg-pct {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.sg-bar {
  width: 100%;
  height: 180px;
  background: var(--surface-1);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.sg-bar-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 6px 6px 0 0;
  transition: height 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sg-info {
  width: 100%;
  text-align: center;
}

.sg-h3 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.sg-p {
  color: #666;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
}

.sg-baseline {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #444;
  font-size: 11px;
}
/* ── Maps Simulator ──────────────────────────────────── */
#maps-sim {
  background: var(--surface-1b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  max-width: 580px;
}

.ms-header {
  background: var(--surface-0b);
  padding: 14px 20px;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ms-logo {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ms-maps-label {
  color: #4285F4;
  font-size: 12px;
  font-weight: 400;
  margin-left: 2px;
}

.ms-search-bar {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid #333;
  border-radius: 24px;
  padding: 8px 16px;
  gap: 8px;
}

.ms-search-icon { font-size: 13px; color: #666; }

.ms-search-text {
  color: #fff;
  font-size: 13px;
  flex: 1;
}

.ms-cursor {
  color: #4285F4;
  animation: parpadeo 1s step-end infinite;
}

/* Mapa */
.ms-body {
  display: flex;
  flex-direction: column;
}

.ms-map {
  position: relative;
  height: 160px;
  background: var(--surface-1);
  border-bottom: 1px solid #222;
  overflow: hidden;
}

.ms-map-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}

.ms-map-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(66,133,244,0.08) 0%, transparent 60%);
}

.ms-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ms-pin.ms-visible {
  opacity: 1;
  transform: translateY(0);
}

.ms-pin--1 { top: 35%; left: 38%; }
.ms-pin--2 { top: 55%; left: 60%; }
.ms-pin--3 { top: 25%; left: 65%; }

.ms-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #666;
}

.ms-pin--main .ms-pin-dot {
  background: var(--brand);
  width: 18px;
  height: 18px;
  box-shadow: 0 0 12px var(--brand-50);
}

.ms-pin-label {
  background: #fff;
  color: var(--surface-1b);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Resultados */
.ms-results {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ms-result {
  padding: 12px;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(6px);
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.ms-result:hover { border-color: #333; }

.ms-result.ms-visible {
  animation: ui-entrada 0.4s ease forwards;
  animation-delay: var(--d);
}

/* [ver :root] @keyframe unificado arriba */

.ms-result--first {
  background: var(--surface-1);
  border-color: var(--brand) !important;
}

.ms-result-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.ms-result-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #333;
  color: #aaa;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ms-num--main {
  background: var(--brand);
  color: #fff;
}

.ms-result-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ms-badge {
  background: rgba(52,168,83,0.15);
  color: #34A853;
  font-size: 10px;
  font-weight: 400;
  padding: 1px 6px;
  border-radius: 10px;
  border: 1px solid rgba(52,168,83,0.3);
}

.ms-result-cat {
  color: #666;
  font-size: 12px;
  margin-bottom: 4px;
}

.ms-result-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-stars { color: #FBBC05; font-size: 12px; }
.ms-stars--gray { color: #555; }

.ms-rating {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.ms-reviews {
  color: #666;
  font-size: 11px;
}

.ms-result-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
  padding-left: 34px;
}

.ms-detail {
  color: #888;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ms-detail-icon { font-size: 11px; }
.ms-open { color: #34A853; font-weight: 600; }

.ms-result-actions {
  display: flex;
  gap: 8px;
  padding-left: 34px;
}

.ms-action {
  background: var(--surface-2);
  color: #aaa;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid #333;
  transition: all 0.2s ease;
}

.ms-action:hover { border-color: #555; color: #fff; }

.ms-action--main {
  background: var(--brand-10);
  color: var(--brand);
  border-color: var(--brand-30);
}
/* ── WooCommerce Product Mockup ──────────────────────── */
#woo-product {
  background: var(--surface-1b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  max-width: 580px;
}

.wp-header {
  background: var(--surface-0b);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #222;
}

.wp-dots { display: flex; gap: 6px; }

.wp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.wp-red    { background: var(--brand); }
.wp-yellow { background: #f59e0b; }
.wp-green  { background: #22c55e; }

.wp-url {
  flex: 1;
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: 20px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #555;
}

.wp-lock { font-size: 10px; }
.wp-domain { color: #666; }

.wp-body { padding: 16px; }

.wp-breadcrumb {
  color: #444;
  font-size: 11px;
  margin-bottom: 16px;
}

.wp-bread-active { color: #888; }

.wp-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Imagen */
.wp-image-wrap { display: flex; flex-direction: column; gap: 8px; }

.wp-image {
  background: var(--surface-1);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 16px;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wp-shoe-svg svg { width: 100%; height: auto; }

.wp-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}

.wp-thumbnails {
  display: flex;
  gap: 6px;
}

.wp-thumb {
  flex: 1;
  height: 36px;
  background: var(--surface-1);
  border: 1px solid #222;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.wp-thumb-active { border-color: var(--brand); }

/* Info */
.wp-info { display: flex; flex-direction: column; gap: 10px; }

.wp-stars {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wp-star-icons { color: #FBBC05; font-size: 12px; }
.wp-star-count { color: #555; font-size: 11px; }

.wp-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.wp-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-price-old {
  color: #444;
  font-size: 12px;
  text-decoration: line-through;
}

.wp-price {
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
}

.wp-discount {
  background: var(--brand-15);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.wp-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #22c55e;
  font-size: 12px;
}

.wp-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: ui-pulso 1.5s ease-in-out infinite;
}

/* [ver :root] @keyframe unificado arriba */

.wp-variant-label {
  color: #666;
  font-size: 11px;
  margin-bottom: 4px;
}

.wp-sizes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.wp-size {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 4px;
  color: #666;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}

.wp-size:hover { border-color: var(--brand); color: #fff; }
.wp-size-active { border-color: var(--brand); color: #fff; background: var(--brand-10); }

.wp-qty-wrap { display: flex; align-items: center; gap: 10px; }

.wp-qty {
  display: flex;
  align-items: center;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
}

.wp-qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
  background: var(--surface-1);
  transition: background 0.2s;
}

.wp-qty-btn:hover { background: #222; color: #fff; }

.wp-qty-num {
  width: 36px;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.wp-add-cart {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.wp-add-cart:hover { background: #8B0000; }
.wp-add-cart.wp-added { background: #22c55e; }

.wp-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wp-meta-item {
  color: #555;
  font-size: 11px;
}

/* Barra ventas */
.wp-sales-bar {
  margin-top: 16px;
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
}

.wp-fire { font-size: 16px; }
.wp-sales-bar strong { color: var(--brand); }
/* ── Elementor Simulator ─────────────────────────────── */
#elementor-sim {
  background: var(--surface-0b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  height: 520px;
}

.es-header {
  background: var(--surface-1);
  border-bottom: 1px solid #222;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.es-dots { display: flex; gap: 5px; }

.es-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.es-red    { background: var(--brand); }
.es-yellow { background: #f59e0b; }
.es-green  { background: #22c55e; }

.es-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.es-tab {
  color: #555;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.es-tab-active {
  background: var(--surface-2);
  color: #fff;
}

.es-btn-pub {
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* Body */
.es-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Panel */
.es-panel {
  width: 140px;
  background: var(--surface-1b);
  border-right: 1px solid #222;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  overflow: hidden;
}

.es-panel-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  border-radius: 4px;
  padding: 5px 8px;
  margin-bottom: 6px;
}

.es-search-icon { font-size: 10px; color: #444; }
.es-search-text { color: #333; font-size: 10px; }

.es-panel-label {
  color: #333;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 6px 4px 2px;
}

.es-widget {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 4px;
  color: #555;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.es-widget:hover {
  background: var(--surface-1);
  color: #aaa;
}

.es-w-active {
  background: var(--brand-10);
  color: var(--brand);
  border-color: var(--brand-20);
}

.es-w-icon { font-size: 12px; }

/* Canvas */
.es-canvas {
  flex: 1;
  background: #161616;
  overflow-y: auto;
  padding: 12px;
}

.es-canvas-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.es-block {
  background: var(--surface-1);
  border: 1px solid #252525;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s;
}

.es-block:hover { border-color: var(--brand); }
.es-block.es-visible { opacity: 1; transform: translateY(0); }

.es-block-tag {
  background: var(--surface-1b);
  border-bottom: 1px solid #222;
  padding: 4px 10px;
  font-size: 9px;
  color: var(--brand);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.es-block-content { padding: 10px; }

.es-block-actions {
  display: flex;
  gap: 4px;
  padding: 4px 10px;
  border-top: 1px solid #222;
  justify-content: flex-end;
}

.es-action {
  font-size: 10px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.es-action:hover { opacity: 1; }
.es-action-del:hover { color: var(--brand); }

/* Skeleton */
.es-skeleton {
  background: linear-gradient(90deg, #222 25%, var(--surface-2) 50%, #222 75%);
  background-size: 200% 100%;
  animation: es-shimmer 1.5s infinite;
  border-radius: 3px;
}

@keyframes es-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Hero block */
.es-fake-eyebrow {
  width: 80px;
  height: 6px;
  background: var(--brand-40);
  border-radius: 3px;
  margin-bottom: 8px;
}

.es-fake-h1 {
  height: 10px;
  width: 90%;
  margin-bottom: 6px;
}

.es-fake-h1-2 {
  height: 10px;
  width: 70%;
  margin-bottom: 8px;
}

.es-fake-text {
  height: 6px;
  width: 100%;
  margin-bottom: 10px;
}

.es-fake-cta {
  width: 80px;
  height: 20px;
  background: var(--brand);
  border-radius: 12px;
}

/* Stats block */
.es-fake-stats {
  display: flex;
  gap: 6px;
}

.es-fake-stat {
  flex: 1;
  height: 36px;
  border-radius: 4px;
}

/* Cards block */
.es-fake-cards {
  display: flex;
  gap: 6px;
}

.es-fake-card {
  flex: 1;
  height: 50px;
  border-radius: 4px;
}

/* CTA block */
.es-fake-cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.es-fake-cta-text {
  height: 8px;
  width: 55%;
  border-radius: 3px;
}

.es-fake-cta-btn {
  width: 70px;
  height: 22px;
  background: var(--brand);
  border-radius: 10px;
}

/* Add block */
.es-add-block {
  border: 2px dashed var(--surface-2);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #333;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0;
}

.es-add-block:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.es-add-block.es-visible { opacity: 1; }

.es-add-icon {
  font-size: 16px;
  color: #333;
}

/* Footer */
.es-footer {
  background: var(--surface-1b);
  border-top: 1px solid #222;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.es-footer-mode {
  font-size: 10px;
  color: #444;
  cursor: pointer;
}

.es-footer-active { color: var(--brand); }

.es-footer-sep {
  flex: 1;
}

.es-footer-info {
  font-size: 10px;
  color: #444;
}
/* ── Web Score ───────────────────────────────────────── */
#web-score {
  background: var(--surface-0b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  max-width: 580px;
}

.ws-header {
  background: var(--surface-1);
  border-bottom: 1px solid #222;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-dots { display: flex; gap: 5px; }

.ws-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ws-red    { background: var(--brand); }
.ws-yellow { background: #f59e0b; }
.ws-green  { background: #22c55e; }

.ws-title {
  color: #555;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.ws-body { padding: 20px; }

/* Score principal */
.ws-main-score {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.ws-circle-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.ws-circle-svg {
  width: 110px;
  height: 110px;
  transform: rotate(-90deg);
}

.ws-circle-bg {
  fill: none;
  stroke: var(--surface-1);
  stroke-width: 8;
}

.ws-circle-fill {
  fill: none;
  stroke: #22c55e;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ws-circle-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ws-circle-num {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.ws-circle-label {
  color: #444;
  font-size: 9px;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.ws-main-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ws-main-sub {
  color: #555;
  font-size: 11px;
  margin-bottom: 10px;
}

.ws-green-text { color: #22c55e; }

.ws-main-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ws-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.ws-tag-green {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.2);
}

.ws-divider {
  border-top: 1px solid var(--surface-1);
  margin: 14px 0;
}

/* Métricas */
.ws-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ws-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.ws-metric-name {
  color: #888;
  font-size: 11px;
}

.ws-metric-pct {
  font-size: 12px;
  font-weight: 700;
}

.ws-pct-green { color: #22c55e; }
.ws-pct-red   { color: var(--brand); }

.ws-bar {
  height: 5px;
  background: var(--surface-1);
  border-radius: 3px;
  overflow: hidden;
}

.ws-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ws-bar-green { background: #22c55e; }
.ws-bar-red   { background: var(--brand); }

/* Footer */
.ws-footer-score {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ws-footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 11px;
}

.ws-footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ws-dot-green { background: #22c55e; }
/* ── Code Editor ─────────────────────────────────────── */
#code-editor {
  background: var(--surface-0b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
  max-width: 580px;
}

.ce-header {
  background: var(--surface-1);
  border-bottom: 1px solid #222;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ce-dots { display: flex; gap: 5px; }

.ce-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ce-red    { background: var(--brand); }
.ce-yellow { background: #f59e0b; }
.ce-green  { background: #22c55e; }

.ce-tabs {
  display: flex;
  gap: 2px;
}

.ce-tab {
  color: #444;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.ce-tab-active {
  background: var(--surface-0b);
  color: #aaa;
  border: 1px solid #222;
  border-bottom: none;
}

.ce-body {
  display: flex;
  padding: 16px 0;
  min-height: 320px;
}

.ce-lines {
  display: flex;
  flex-direction: column;
  padding: 0 12px;
  border-right: 1px solid var(--surface-1);
  gap: 2px;
  flex-shrink: 0;
}

.ce-ln {
  color: #333;
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
  min-width: 20px;
}

.ce-code {
  padding: 0 16px;
  flex: 1;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre;
}

/* Colores sintaxis Python */
.py-keyword  { color: var(--brand); }
.py-function { color: #4fc3f7; }
.py-string   { color: #22c55e; }
.py-comment  { color: #444; font-style: italic; }
.py-class    { color: #f59e0b; }
.py-number   { color: #ce93d8; }
.py-param    { color: #aaa; }
.py-decorator{ color: var(--brand); opacity: 0.7; }

.ce-footer {
  background: var(--surface-1);
  border-top: 1px solid #222;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.ce-footer-lang {
  color: #444;
  font-size: 10px;
}

.ce-footer-sep { flex: 1; }

.ce-footer-status {
  color: #444;
  font-size: 10px;
}

.ce-footer-cursor {
  color: #22c55e;
  font-size: 8px;
  animation: parpadeo 1s step-end infinite;
}
/* ── App Store Simulator ─────────────────────────────── */
#appstore-sim {
  background: var(--surface-0b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  max-width: 580px;
}

.as-header {
  background: var(--surface-1);
  border-bottom: 1px solid #222;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.as-dots { display: flex; gap: 5px; }

.as-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.as-red    { background: var(--brand); }
.as-yellow { background: #f59e0b; }
.as-green  { background: #22c55e; }

.as-store-tabs {
  display: flex;
  gap: 4px;
}

.as-store-tab {
  font-size: 11px;
  color: #444;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.as-store-active {
  background: var(--surface-2);
  color: #fff;
}

.as-body { padding: 16px; }

/* App principal */
.as-app-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.as-app-main.as-visible {
  opacity: 1;
  transform: translateY(0);
}

.as-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px var(--brand-30);
}

.as-icon-letter {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
}

.as-app-info { flex: 1; }

.as-app-name {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.as-app-dev {
  color: var(--brand);
  font-size: 11px;
  margin-bottom: 5px;
}

.as-app-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.as-stars { color: #FBBC05; font-size: 11px; }
.as-rating { color: #fff; font-size: 11px; font-weight: 700; }
.as-reviews { color: #444; font-size: 10px; }

.as-app-tags {
  display: flex;
  gap: 4px;
}

.as-tag {
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  color: #555;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}

.as-btn-install {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background 0.3s ease;
  flex-shrink: 0;
  align-self: center;
}

.as-btn-install:hover { background: #8B0000; }
.as-btn-install.as-installing { background: #22c55e; }

/* Previews */
.as-previews {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

.as-previews.as-visible { opacity: 1; }

.as-preview {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.as-preview-screen {
  width: 100%;
  aspect-ratio: 9/16;
  background: var(--surface-1b);
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.as-screen-bar {
  height: 8px;
  background: var(--surface-1);
  border-bottom: 1px solid #222;
  flex-shrink: 0;
}

.as-screen-content {
  flex: 1;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.as-screen-line {
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
}

.as-line-red { background: var(--brand); width: 60%; }
.as-line-short { width: 40%; }

.as-screen-cards {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.as-screen-card {
  flex: 1;
  height: 40px;
  background: var(--surface-1);
  border-radius: 4px;
  border: 1px solid #222;
}

.as-screen-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.as-screen-item {
  height: 18px;
  background: var(--surface-1);
  border-radius: 3px;
  border-left: 2px solid var(--brand);
}

.as-screen-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-top: auto;
}

.as-chart-bar {
  flex: 1;
  height: var(--h);
  background: var(--surface-2);
  border-radius: 2px 2px 0 0;
  transition: height 1s ease;
}

.as-chart-red { background: var(--brand); }

.as-preview-label {
  color: #444;
  font-size: 10px;
}

/* Divider */
.as-divider {
  border-top: 1px solid var(--surface-1);
  margin: 12px 0;
}

/* Info grid */
.as-info-grid {
  display: flex;
  gap: 0;
  opacity: 0;
  transition: opacity 0.4s ease 0.5s;
}

.as-info-grid.as-visible { opacity: 1; }

.as-info-item {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-right: 1px solid var(--surface-1);
}

.as-info-item:last-child { border-right: none; }

.as-info-value {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}

.as-info-label {
  color: #444;
  font-size: 10px;
}

/* Reseñas */
.as-reviews-section {
  opacity: 0;
  transition: opacity 0.4s ease 0.7s;
}

.as-reviews-section.as-visible { opacity: 1; }

.as-reviews-title {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.as-review-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--surface-1);
}

.as-review-item:last-child { border-bottom: none; margin-bottom: 0; }

.as-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.as-review-user {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.as-review-stars {
  color: #FBBC05;
  font-size: 10px;
}

.as-review-text {
  color: #555;
  font-size: 11px;
  line-height: 1.5;
}
/* ── Post Content tipografía ─────────────────────────── */
.post-content-single h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.post-content-single h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 12px;
}

.post-content-single p {
  color: #cccccc;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-content-single a {
  color: var(--brand);
  text-decoration: none;
}

.post-content-single a:hover {
  text-decoration: underline;
}

.post-content-single strong {
  color: #ffffff;
  font-weight: 700;
}

.post-content-single blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 20px;
  margin: 30px 0;
  color: #aaaaaa;
  font-style: italic;
}
body, html {
  overflow-x: hidden;
}
/* ── Google Business Profile Simulator ───────────────── */
#gbp-simulator {
  background: var(--surface-0b);
  border: 1px solid #222;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  max-width: 100%;
}

.gbp-header {
  background: var(--surface-1);
  border-bottom: 1px solid #222;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gbp-dots { display: flex; gap: 5px; }

.gbp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.gbp-red    { background: var(--brand); }
.gbp-yellow { background: #f59e0b; }
.gbp-green  { background: #22c55e; }

.gbp-title {
  color: #555;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.gbp-body { padding: 16px; }

/* Toggle */
.gbp-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  justify-content: center;
}

.gbp-toggle-label {
  font-size: 12px;
  color: #555;
  font-weight: 500;
  transition: color 0.3s ease;
}

.gbp-toggle {
  width: 44px;
  height: 24px;
  background: var(--surface-1);
  border-radius: 12px;
  border: 1px solid #333;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.gbp-toggle.gbp-on { background: var(--brand); border-color: var(--brand); }

.gbp-toggle-btn {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s ease;
}

.gbp-toggle.gbp-on .gbp-toggle-btn { left: 22px; }

/* Ficha */
.gbp-ficha {
  background: var(--surface-1b);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}

.gbp-ficha-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.gbp-business-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--surface-1);
  border: 1px solid var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.gbp-business-icon.gbp-icon-good {
  background: var(--brand-10);
  border-color: var(--brand);
  color: var(--brand);
  font-size: 22px;
}

.gbp-business-name {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  transition: color 0.3s ease;
}

.gbp-business-cat {
  color: #555;
  font-size: 11px;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.gbp-business-cat.gbp-cat-good { color: #4285F4; }

.gbp-stars-wrap { display: flex; align-items: center; gap: 4px; }

.gbp-stars {
  font-size: 12px;
  color: #555;
  transition: color 0.3s ease;
}

.gbp-stars.gbp-stars-good { color: #FBBC05; }

.gbp-rating {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.gbp-reviews { color: #444; font-size: 11px; }

/* Estado */
.gbp-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #666;
}

.gbp-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gbp-status-bad { background: var(--brand); }
.gbp-status-good { background: #22c55e; animation: ui-pulso 1.5s ease-in-out infinite; }

/* [ver :root] @keyframe unificado arriba */

/* Métricas */
.gbp-metrics { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }

.gbp-metric-label { color: #666; font-size: 11px; margin-bottom: 4px; }

.gbp-metric-bar {
  height: 5px;
  background: var(--surface-1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 2px;
}

.gbp-metric-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s ease;
}

.gbp-fill-bad  { background: var(--brand); }
.gbp-fill-good { background: #22c55e; }

.gbp-metric-pct {
  color: #555;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  transition: color 0.3s ease;
}

/* Issues */
.gbp-issues { display: flex; flex-direction: column; gap: 4px; }

.gbp-issue {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.gbp-issue-bad  { background: var(--brand-10); color: var(--brand); border-left: 2px solid var(--brand); }
.gbp-issue-good { background: rgba(34,197,94,0.1); color: #22c55e; border-left: 2px solid #22c55e; }

/* Posición */
.gbp-position {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-1b);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 10px 14px;
}

.gbp-position-label { color: #555; font-size: 12px; }

.gbp-position-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  transition: all 0.5s ease;
}

.gbp-position-num.gbp-pos-good { color: #22c55e; }
.seccion-quienes {
	background: radial-gradient(ellipse at center, #5c0000 0%, #2a0000 30%, #000000 65%, #000000 100%) !important;
}
#pfi1 { background-image: url('/wp-content/uploads/2024/05/diseno-web-dra-dornak-1-thegem-product-justified-square-double-l.jpg'); }
#pfi2 { background-image: url('/wp-content/uploads/2024/05/Web-Wedding-Planner-Girona-1.jpg'); }
#pfi3 { background-image: url('/wp-content/uploads/2024/05/Diseno-web-Piscinas-Henares-1.jpg'); }
#pfi4 { background-image: url('/wp-content/uploads/2024/05/Diseno-web-Manila-Limpiezas-1.jpg'); }
#pfi5 { background-image: url('/wp-content/uploads/2024/05/Diseno-web-Despacho-de-Abogados-1.jpg'); }
#pfi6 { background-image: url('/wp-content/uploads/2023/01/diseno-web-jenmusic-1.jpg'); }
.pf-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.pf-img-placeholder {
  display: none;
}
.hero-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* ── Preferencias de accesibilidad ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
