/* ============================================================
   sergiogalos.es — Landing Consultor SEO · Sergio Galo's
   Paleta: papel #F6F7F9 · tinta #0B1526 · marino #16294B
           azul SERP #2140E8 · niebla #E3E7EE · verde #0E8A5F
   Tipos:  Bricolage Grotesque (display) · Instrument Sans (texto)
           IBM Plex Mono (utilidad / vernáculo SERP)
   ============================================================ */

:root {
  --papel: #f6f7f9;
  --blanco: #ffffff;
  --tinta: #0b1526;
  --marino: #16294b;
  --marino-suave: #e9eef6;
  --azul: #2140e8;
  --azul-oscuro: #1730b8;
  --niebla: #e3e7ee;
  --gris: #5b6472;
  --verde: #0e8a5f;
  --radius: 18px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--azul); text-decoration: none; }

::selection { background: var(--azul); color: #fff; }

:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1368px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.nav.scrolled { border-bottom-color: var(--niebla); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--tinta);
}

.wordmark .tld { color: var(--azul); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a:not(.btn) {
  color: var(--gris);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover { color: var(--tinta); }

@media (max-width: 720px) {
  .nav-links li.nav-item { display: none; }
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--azul);
  color: #fff;
}

.btn-primary:hover {
  background: var(--azul-oscuro);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--tinta);
  border: 1px solid var(--niebla);
}

.btn-ghost:hover { border-color: var(--tinta); }

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- Hero ---------- */

.hero { overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px) 0;
}

.hero-grid > * { min-width: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--azul);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--azul);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--gris);
  max-width: 46ch;
  margin-bottom: 36px;
}

/* Barra de búsqueda — elemento firma */

.searchbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: calc(0.95rem * 1.65 + 34px);
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 999px;
  padding: 16px 24px;
  max-width: min(480px, 100%);
  box-shadow: 0 8px 30px rgba(11, 21, 38, 0.06);
  margin-bottom: 20px;
}

.searchbar svg {
  flex-shrink: 0;
  color: var(--gris);
}

.query {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.65;
  min-height: 1.65em;
  color: var(--tinta);
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}

/* Cuando el texto se borra, un espacio de ancho cero mantiene la caja de línea
   y evita que la barra encoja y desplace el contenido */
.query:empty::after { content: "\200B"; }

.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--azul);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* Figura del hero */

.hero-figure {
  position: relative;
  align-self: end;
}

.hero-figure .arch {
  position: absolute;
  inset: 12% 4% 0 4%;
  background: linear-gradient(180deg, var(--marino-suave), #dde6f2);
  border-radius: 999px 999px 0 0;
}

.hero-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(11, 21, 38, 0.18));
}

/* Snippet SERP flotante sobre la foto */

.snippet {
  position: absolute;
  z-index: 2;
  left: max(-30px, -4vw);
  bottom: 14%;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.12);
  max-width: 300px;
}

.snippet-url {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gris);
  margin-bottom: 6px;
}

.snippet-url::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--azul);
  flex-shrink: 0;
}

.snippet-title {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--azul);
  line-height: 1.35;
  margin-bottom: 8px;
}

.rank-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--verde);
  background: rgba(14, 138, 95, 0.09);
  border-radius: 999px;
  padding: 4px 12px;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: min(420px, 100%); margin-inline: auto; width: 100%; }
  .snippet { left: 0; }
  .hero-ctas { padding-bottom: 12px; }
  .hero { padding-bottom: 0; }
}

/* ---------- Secciones ---------- */

.section { padding-block: clamp(72px, 9vw, 120px); }

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: none;
}

.section-head p { color: var(--gris); max-width: none; }

/* Servicios — tarjetas con vernáculo de resultado de búsqueda */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.08);
}

.service-url {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gris);
  margin-bottom: 10px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--azul);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.98rem;
  color: var(--gris);
}

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

/* Método — secuencia real, numeración justificada */

.method { background: var(--blanco); border-block: 1px solid var(--niebla); }

.method-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.method-head {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.method-facts {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--niebla);
}

.method-facts li {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 2px solid var(--azul);
}

.method-facts strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--tinta);
}

.method-facts span { font-size: 0.9rem; color: var(--gris); }

/* Línea de tiempo vertical */

.steps {
  list-style: none;
  display: grid;
  gap: 0;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding-bottom: 20px;
}

.step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--niebla), var(--niebla));
}

.step:last-child::before { display: none; }
.step:last-child { padding-bottom: 0; }

.step-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--marino);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 0 0 6px var(--blanco);
  position: relative;
  z-index: 1;
}

.step:first-child .step-marker { background: var(--azul); }

.step-body {
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-body:hover {
  border-color: #c9d2e3;
  box-shadow: 0 12px 32px rgba(11, 21, 38, 0.06);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--azul);
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.step-body > p {
  font-size: 0.95rem;
  color: var(--gris);
  max-width: 56ch;
}

@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-head { position: static; margin-bottom: 8px; }
}

@media (max-width: 540px) {
  .step { grid-template-columns: 36px 1fr; gap: 16px; }
  .step-marker { width: 36px; height: 36px; font-size: 0.72rem; }
  .step::before { left: 17px; top: 36px; }
  .step-body { padding: 22px 20px 20px; }
}

/* FAQ */

.faq-list {
  max-width: 912px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--azul);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--gris);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* ---------- CTA final ---------- */

.cta-final {
  background: var(--marino);
  color: #fff;
  border-radius: clamp(20px, 3vw, 32px);
  padding: clamp(56px, 7vw, 96px) clamp(28px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 64, 232, 0.35), transparent 70%);
  top: -240px;
  right: -140px;
  pointer-events: none;
}

.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin: 0 auto 36px;
}

.cta-final .btn-primary { font-size: 1.05rem; }

.cta-email {
  display: block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta-email a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */

.footer {
  padding-block: 48px 44px;
  border-top: 1px solid var(--niebla);
  margin-top: 24px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tinta);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--gris);
  font-size: 0.92rem;
  padding-block: 4px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--azul); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--niebla);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gris);
}

@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   Componentes de la home extendida
   ============================================================ */

/* Banda alterna (fondo blanco entre secciones papel) */

.band { background: var(--blanco); border-block: 1px solid var(--niebla); }

/* Dentro de una banda blanca, las tarjetas blancas pasan a papel para contrastar */
.band .service-card,
.band .principle,
.band .kpi,
.band .testimonial,
.band .panel,
.band .faq-item,
.band .logo-row li {
  background: var(--papel);
}

.band .tool-list li { background: var(--blanco); }

/* Subapartados (H4) dentro de tarjetas y paneles */

.subs {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--niebla);
}

.sub h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tinta);
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 3px;
}

.sub h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azul);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.sub p {
  font-size: 0.9rem;
  color: var(--gris);
  padding-left: 16px;
}

/* Tarjeta de servicio enlazable */

a.service-card { color: inherit; display: block; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }

.services-grid-3 { grid-template-columns: repeat(3, 1fr); }

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

/* Especializaciones */

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

.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spec-card:hover {
  transform: translateY(-3px);
  border-color: var(--azul);
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.08);
}

.spec-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--azul);
}

.spec-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.spec-card p { font-size: 0.95rem; color: var(--gris); flex: 1; }

.spec-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--azul);
  margin-top: 6px;
}

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

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

/* Fases del método con subpuntos */

.step-list {
  list-style: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--niebla);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.step-list h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tinta);
  margin-bottom: 3px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.step-list h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azul);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.step-list p { font-size: 0.88rem; color: var(--gris); padding-left: 16px; }

@media (max-width: 640px) {
  .step-list { grid-template-columns: 1fr; }
}

/* Metodología: herramientas a ancho completo + fila de KPIs */

.metodologia-stack {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}

.tools-strip { margin-top: clamp(40px, 5vw, 64px); }

.panel-tools .tool-groups {
  grid-template-columns: repeat(6, 1fr);
  gap: 26px 28px;
}

.panel-tools .tool-group { grid-column: span 2; }
.panel-tools .tool-group:nth-child(4),
.panel-tools .tool-group:nth-child(5) { grid-column: span 3; }

@media (max-width: 900px) {
  .panel-tools .tool-groups { grid-template-columns: 1fr 1fr; }
  .panel-tools .tool-group,
  .panel-tools .tool-group:nth-child(4),
  .panel-tools .tool-group:nth-child(5) { grid-column: span 1; }
  .panel-tools .tool-group:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 560px) {
  .panel-tools .tool-groups { grid-template-columns: 1fr; }
  .panel-tools .tool-group,
  .panel-tools .tool-group:nth-child(5) { grid-column: span 1; }
}

/* Principios de la metodología */

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

.principle {
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.principle:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.08);
}

.principle-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 12px;
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.principle > p { font-size: 0.95rem; color: var(--gris); }

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

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

.kpi-head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.kpi-head p { color: var(--gris); font-size: 0.98rem; }

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

.kpi {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 26px 28px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kpi:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.08);
}

.kpi-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 12px;
}

.kpi h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.kpi > p { font-size: 0.92rem; color: var(--gris); flex: 1; }

.kpi-viz {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--niebla);
}

.kpi-caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
  margin-top: 12px;
}

/* viz 1: barras ascendentes */

.kpi-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}

.kpi-bars i {
  flex: 1;
  height: var(--h);
  background: var(--marino-suave);
  border-radius: 4px 4px 0 0;
}

.kpi-bars i.is-last { background: var(--azul); }

/* viz 2: posiciones */

.kpi-ranks { display: grid; gap: 8px; }

.kpi-ranks > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.kpi-kw {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--tinta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* viz 3: embudo */

.kpi-funnel {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.kpi-funnel > div {
  width: var(--w);
  background: var(--marino-suave);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--marino);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-funnel > div.is-last {
  background: var(--azul);
  color: #fff;
  font-weight: 500;
}

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

.panel {
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 32px 32px 30px;
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.panel > p { color: var(--gris); font-size: 0.98rem; }

.tool-groups {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--niebla);
}

.tool-group-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 8px;
}

.tool-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-list li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--tinta);
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: 999px;
  padding: 7px 14px;
}

/* Subtítulo de bloque (H3 suelto dentro de una sección) */

.sub-head {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sub-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--niebla);
}

.sub-head + * { margin-bottom: clamp(40px, 5vw, 56px); }

/* Casos de éxito */

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

.case-card {
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  color: inherit;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.08);
}

.case-stat {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--verde);
}

.case-stat span { font-size: 1.4rem; }

.case-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gris);
  margin: 6px 0 18px;
}

.case-card h4,
.case-card .case-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.case-card > p:last-child { font-size: 0.93rem; color: var(--gris); }

.case-more { border-style: dashed; }
.case-more .case-stat { color: var(--azul); }

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

.sector {
  padding-top: 18px;
  border-top: 2px solid var(--azul);
}

.sector h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sector p { font-size: 0.93rem; color: var(--gris); }

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

/* Por qué consultor: argumentos + tabla comparativa */

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.vs-args {
  display: grid;
  gap: 8px;
}

.why {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--niebla);
}

.why:first-child { border-top: none; padding-top: 0; }

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--marino);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.why:first-child .why-icon { background: var(--azul); }

.why h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.why-body > p { font-size: 0.95rem; color: var(--gris); }

.why .subs { border-top: none; padding-top: 0; margin-top: 10px; }

.vs-table {
  background: var(--marino);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  position: sticky;
  top: 96px;
  overflow: hidden;
}

.vs-table::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 64, 232, 0.4), transparent 70%);
  top: -160px;
  right: -100px;
  pointer-events: none;
}

.vs-table-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.vs {
  position: relative;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.92rem;
  line-height: 1.4;
}

.vs col.vs-col-label { width: 30%; }
.vs col.vs-col-cell { width: 35%; }

.vs th, .vs td {
  text-align: left;
  padding: 14px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: middle;
}

.vs thead th {
  border-top: none;
  padding-top: 0;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.vs thead th.vs-me { color: #fff; }

.vs thead th.vs-me::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--azul);
  margin-right: 8px;
  vertical-align: middle;
}

.vs tbody th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 0;
  padding-right: 12px;
}

.vs td {
  position: relative;
  padding-left: 26px;
}

.vs td::before {
  position: absolute;
  left: 6px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.4;
}

.vs td.yes { color: #fff; font-weight: 500; }
.vs td.no { color: rgba(255, 255, 255, 0.5); }

.vs td.yes::before { content: "✓"; color: #5fd8a8; }
.vs td.no::before { content: "—"; color: rgba(255, 255, 255, 0.3); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .vs-grid { grid-template-columns: 1fr; }
  .vs-table { position: static; }
}

@media (max-width: 520px) {
  .vs { font-size: 0.84rem; }
  .vs th, .vs td { padding: 12px 6px; }
  .vs td { padding-left: 22px; }
  .vs td::before { left: 4px; top: 12px; font-size: 0.8rem; }
  .vs-table { padding: 22px 18px 18px; }
}

/* Geográfico */

.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.geo-card {
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 28px 30px;
  color: inherit;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.geo-card:hover {
  transform: translateY(-3px);
  border-color: var(--azul);
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.08);
}

.geo-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--azul);
  margin-bottom: 10px;
}

.geo-remote h3 { color: var(--tinta); }

.geo-card > p:not(.service-url) { font-size: 0.96rem; color: var(--gris); }

.geo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.geo-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--tinta);
  border: 1px solid var(--niebla);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.geo-links a:hover { border-color: var(--azul); color: var(--azul); }

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

/* Planes */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 32px 30px 30px;
}

.plan-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 14px;
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--azul);
  margin: 6px 0 12px;
}

.plan-price span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gris);
  margin-left: 4px;
}

.plan-featured .plan-price { color: #fff; }
.plan-featured .plan-price span { color: rgba(255, 255, 255, 0.6); }

.plan-desc { font-size: 0.95rem; color: var(--gris); margin-bottom: 22px; }


.plan-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--niebla);
  margin-bottom: 28px;
  flex: 1;
}

.plan-list h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 2px;
}

.plan-list h4::before {
  content: "✓";
  font-family: var(--font-mono);
  color: var(--verde);
  font-size: 0.85rem;
}

.plan-list p { font-size: 0.88rem; color: var(--gris); padding-left: 22px; }

.plan .btn { align-self: flex-start; }

.plan-featured {
  background: var(--marino);
  color: #fff;
  border-color: var(--marino);
}

.plan-featured .plan-tag { color: #9fb1ff; }
.plan-featured .plan-desc,
.plan-featured .plan-list p { color: rgba(255, 255, 255, 0.72); }
.plan-featured .plan-list { border-top-color: rgba(255, 255, 255, 0.15); }
.plan-featured .plan-list h4::before { color: #5fd8a8; }

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

/* Testimonios */

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

.testimonial {
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial blockquote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--tinta);
  flex: 1;
}

.testimonial figcaption {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gris);
  padding-top: 16px;
  border-top: 1px solid var(--niebla);
}

.testimonial figcaption strong { color: var(--tinta); font-weight: 500; }

/* Pastillas de sectores: cuadrícula centrada de 4 columnas, así 8 = 4+4 y 7 = 4+3,
   nunca queda una pastilla suelta en la última fila */

.logo-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 10px;
}

.logo-row li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--gris);
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 12px;
  padding: 12px 18px;
}

@media (max-width: 760px) {
  .logo-row { grid-template-columns: repeat(2, 1fr); }
}

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

/* CTA ampliado con columnas */

.cta-wide .cta-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  max-width: 984px;
  margin: 0 auto 40px;
}

.cta-col h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: #fff;
}

.cta-list { list-style: none; display: grid; gap: 12px; }

.cta-list h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cta-list h4::before {
  content: "✓";
  font-family: var(--font-mono);
  color: #5fd8a8;
  font-size: 0.85rem;
}

.cta-list p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 2px 0 0;
  padding-left: 22px;
  max-width: none;
}

@media (max-width: 680px) {
  .cta-wide .cta-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   Páginas interiores (servicios / ciudades)
   ============================================================ */

/* Migas de pan */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gris);
  margin-bottom: 18px;
}

.crumbs a { color: var(--gris); }
.crumbs a:hover { color: var(--azul); }
.crumbs [aria-current] { color: var(--tinta); }

/* H1 pequeño (kicker) + H2 como título visual del hero */

.hero h1.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gris);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.hero h1.hero-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--azul);
}

.hero h2.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h2.hero-title em {
  font-style: normal;
  color: var(--azul);
}

/* Maqueta del pack de Google Maps */

.hero-figure-local {
  align-self: center;
  padding-block: clamp(24px, 4vw, 48px);
}

.mappack {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 14px;
  max-width: 440px;
  margin-inline: auto;
}

.mappack-map {
  position: relative;
  height: 170px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(22, 41, 75, 0.07) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(22, 41, 75, 0.07) 22px 23px),
    linear-gradient(160deg, #eef2f8, #dfe7f2);
  overflow: hidden;
  margin-bottom: 14px;
}

.mappack-map::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 55%;
  width: 120%;
  height: 14px;
  background: rgba(255, 255, 255, 0.85);
  transform: rotate(-12deg);
}

.mappack-map::after {
  content: "";
  position: absolute;
  left: 38%;
  top: -10%;
  width: 12px;
  height: 120%;
  background: rgba(255, 255, 255, 0.85);
  transform: rotate(18deg);
}

.pin {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--marino);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.pin-1 {
  left: 48%;
  top: 42%;
  width: 20px;
  height: 20px;
  background: var(--azul);
}

.pin-1::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(33, 64, 232, 0.35);
  animation: pulse 2s ease-out infinite;
}

.pin-2 { left: 22%; top: 28%; }
.pin-3 { left: 72%; top: 66%; }

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.mappack-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gris);
  padding: 0 8px 10px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 4px;
}

.mappack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
}

.mappack-row + .mappack-row { border-top: 1px solid var(--niebla); border-radius: 0; }

.mappack-row.is-you {
  background: var(--marino-suave);
  border-top: none;
  margin-bottom: 4px;
}

.mappack-row > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mappack-row strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tinta);
}

.mappack-row.is-you strong { color: var(--azul); }

.mappack-row .stars {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #d9900a;
}

.mappack-row .stars b { color: var(--tinta); font-weight: 500; }

.mappack-row .meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
}

.mappack-row .rank-chip { flex-shrink: 0; }

/* Maqueta de resultado de producto en Google (ecommerce / Shopify) */

.serpcard {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 22px 24px 20px;
  max-width: 460px;
  margin-inline: auto;
}

.serpcard-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 16px;
}

.serpcard-url {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gris);
  margin-bottom: 6px;
}

.serpcard-url::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--azul);
  flex-shrink: 0;
}

.serpcard-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--azul);
  margin-bottom: 10px;
}

.serpcard-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 10px;
}

.serpcard .stars {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #d9900a;
}

.serpcard .stars b { color: var(--tinta); font-weight: 500; }

.serpcard-price {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--tinta);
}

.serpcard-stock {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--verde);
}

.serpcard-stock::before { content: "● "; }

.serpcard-desc {
  font-size: 0.92rem;
  color: var(--gris);
  line-height: 1.5;
  margin-bottom: 16px;
}

.serpcard-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--niebla);
}

.serpcard-kpi {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--marino);
  background: var(--marino-suave);
  border-radius: 999px;
  padding: 4px 12px;
}

/* Maqueta de Google Shopping 2x2 (ecommerce) */

.shopping {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 14px;
  max-width: 380px;
  margin-inline: auto;
}

.shopping-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gris);
  padding: 0 2px 10px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 10px;
}

.shopping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shopcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 10px;
  padding: 8px 10px 10px;
  font-size: 0.72rem;
  line-height: 1.3;
}

.shopcard.is-you {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(33, 64, 232, 0.12);
}

.shopcard-badge,
.shopcard-offer {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 7px;
}

.shopcard-badge { background: var(--azul); color: #fff; }
.shopcard-offer { background: var(--blanco); color: var(--tinta); border: 1px solid var(--niebla); }

.shopcard-img {
  height: 64px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  color: rgba(11, 21, 38, 0.45);
}

.shopcard.is-you .shopcard-img { color: rgba(255, 255, 255, 0.9); }

.shopcard-img svg { width: 26px; height: 26px; }

.shopcard-title {
  color: var(--azul);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.shopcard-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tinta);
  margin-top: 2px;
}

.shopcard-price s {
  font-size: 0.72rem;
  color: var(--gris);
  font-weight: 400;
  margin-left: 4px;
}

.shopcard-store {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--tinta);
  font-weight: 500;
}

.shopcard-store i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gris);
  flex-shrink: 0;
}

.shopcard.is-you .shopcard-store { color: var(--azul); }
.shopcard.is-you .shopcard-store i { background: var(--azul); }

.shopcard-ship { color: var(--gris); }
.shopcard-ship::before { content: "⛟ "; font-size: 0.72rem; }

.shopcard-stars {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #d9900a;
}

.shopcard-stars span { color: var(--gris); }

.shopcard-src { color: var(--gris); font-size: 0.72rem; }

/* Maqueta de informe mensual (PYMEs) */

.report {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 20px 22px 18px;
  max-width: 440px;
  margin-inline: auto;
}

.report-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 14px;
}

.report-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.report-tile {
  display: grid;
  gap: 4px;
  background: var(--papel);
  border-radius: 12px;
  padding: 12px 12px 10px;
}

.report-name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gris);
  line-height: 1.3;
}

.report-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--tinta);
}

.report-val small { font-size: 0.85rem; font-weight: 700; color: var(--gris); }

.report-tile:first-child .report-val { color: var(--azul); }

.report-delta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--verde);
  line-height: 1.3;
}

.report-chart {
  padding-top: 14px;
  border-top: 1px solid var(--niebla);
}

.report-chart-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--gris);
  margin-bottom: 10px;
}

.report-chart .kpi-bars { height: 56px; }

.report-chart-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gris);
  margin-top: 6px;
}

/* Maqueta de bandeja de leads (B2B) */

.leads {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 18px 20px 16px;
  max-width: 460px;
  margin-inline: auto;
}

.leads-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 6px;
}

.lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--niebla);
}

.lead > div { display: grid; gap: 3px; min-width: 0; }

.lead strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--tinta);
  line-height: 1.3;
}

.lead-kw {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--azul);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lead .rank-chip { flex-shrink: 0; }

.lead:first-of-type {
  background: var(--marino-suave);
  border-radius: 12px;
  border-bottom: none;
  margin-bottom: 2px;
  padding-inline: 12px;
}

.leads-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 12px;
}

.leads-stat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
}

.leads-stat b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--verde);
  margin-right: 4px;
}

/* Maqueta de Core Web Vitals (WordPress) */

.vitals {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 22px 24px 20px;
  max-width: 440px;
  margin-inline: auto;
}

.vitals-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 18px;
}

/* Puntuaciones estilo PageSpeed */

.vitals-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--niebla);
}

.score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.score-ring {
  position: relative;
  isolation: isolate;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--verde);
  background: var(--verde);
}

/* interior claro, deja un anillo verde de 4px como el de PageSpeed al 100 */
.score-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #e7f5ef;
  z-index: -1;
}

.score-name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gris);
  text-align: center;
  white-space: nowrap;
}

.vitals-row {
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.vitals-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tinta);
}

.vitals-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--marino-suave);
  overflow: hidden;
}

.vitals-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: 999px;
  background: var(--verde);
}

.vitals-val {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--verde);
  text-align: right;
}

.vitals-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--niebla);
}

.vitals-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
  text-decoration: line-through;
  text-decoration-color: rgba(91, 100, 114, 0.5);
}

.vitals-plugins {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--papel);
}

.vitals-plugins-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gris);
}

.vitals-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--marino);
  background: var(--marino-suave);
  border-radius: 999px;
  padding: 4px 12px;
}

.vitals-chip.is-down { color: var(--verde); background: rgba(14, 138, 95, 0.09); }

.principle .spec-link { display: inline-block; margin-top: 14px; }

/* Dos tarjetas de principio en fila (precio) */

.principles-2 { grid-template-columns: 1fr 1fr; }

.principle .btn { margin-top: 22px; }

.sub > p:only-child { padding-left: 16px; position: relative; }

.sub > p:only-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azul);
}

.sub > p:only-child strong { color: var(--tinta); font-weight: 600; }

/* Listas del CTA sin H4 */

.cta-list li > p:only-child {
  position: relative;
  padding-left: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.cta-list li > p:only-child::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  color: #5fd8a8;
  font-size: 0.85rem;
}

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

@media (prefers-reduced-motion: reduce) {
  .pin-1::after { animation: none; }
}

/* ============================================================
   Piezas visuales intermedias (showcase) — CSS puro
   ============================================================ */

.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.showcase-flip .viz { order: 2; }

.showcase-note { display: grid; gap: 12px; }

.showcase-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul);
}

.showcase-note p:not(.showcase-kicker) { color: var(--gris); font-size: 1rem; }

.showcase-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--niebla);
}

.showcase-stat b {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tinta);
}

.showcase-stat span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gris); }

.method-head .viz { margin-top: 28px; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-flip .viz { order: 0; }
}

/* Base de tarjeta visual */

.viz {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(11, 21, 38, 0.08);
  padding: 20px 22px 18px;
  min-width: 0;
}

.viz-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 16px;
}

.viz-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--niebla);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
}

.viz-foot b { color: var(--tinta); font-weight: 500; }

.chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.chip-ok { color: var(--verde); background: rgba(14, 138, 95, 0.09); }
.chip-warn { color: #b26a00; background: rgba(217, 144, 10, 0.12); }
.chip-err { color: #b3261e; background: rgba(179, 38, 30, 0.1); }
.chip-blue { color: var(--azul); background: var(--marino-suave); }
.chip-muted { color: var(--gris); background: var(--papel); }

/* 1 · Escalera de posiciones */

.ladder-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.ladder-big b {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--gris);
}

.ladder-big b.is-now { color: var(--azul); }
.ladder-big b small { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; margin-right: 2px; }

.ladder-big i {
  width: 40px;
  height: 2px;
  background: var(--niebla);
  position: relative;
}

.ladder-big i::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--azul);
}

.ladder-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.ladder-months span {
  display: grid;
  gap: 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gris);
}

.ladder-months span b {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--tinta);
  background: var(--papel);
  border-radius: 8px;
  padding: 8px 0;
}

.ladder-months span:last-child b { background: var(--azul); color: #fff; }

/* 2 · Gráfica de crecimiento / comparativa (SVG) */

.viz-chart svg { width: 100%; height: auto; display: block; }

.chart-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--gris);
  margin-top: 6px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gris);
  margin-bottom: 12px;
}

.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 14px; height: 3px; border-radius: 2px; }
.chart-legend .l-seo { background: var(--azul); }
.chart-legend .l-ads { background: #d9900a; }

.chart-note {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--tinta);
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 8px;
  padding: 4px 8px;
  box-shadow: 0 6px 16px rgba(11, 21, 38, 0.08);
}

/* 3 · Lista de keywords */

.kwlist { display: grid; gap: 6px; }

.kwrow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--papel);
}

.kwrow.is-hot { background: var(--marino-suave); }

.kwrow .kw {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--tinta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kwrow .vol {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gris);
}

.kwhead {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 0 10px 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris);
}

/* 4 · Árbol de rastreo (estilo árbol de archivos) */

.tree { display: grid; gap: 2px; }

.tree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
}

.tree-row.is-root { background: var(--marino-suave); }
.tree-row.is-off { opacity: 0.6; }

.tree-path {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--tinta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree-path .guide { color: #b9c2d0; }
.tree-row.is-off .tree-path { text-decoration: line-through; }

/* 5 · Mapa de calor local (grid de posiciones) */

.heat {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  aspect-ratio: 1 / 1;
  max-width: 260px;
  margin-inline: auto;
}

.heat span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  background: var(--niebla);
}

.heat .h1 { background: var(--verde); }
.heat .h2 { background: #3aa87a; }
.heat .h3 { background: #d9900a; }
.heat .h4 { background: #c0392b; }
.heat .is-you { outline: 3px solid var(--azul); outline-offset: -3px; }

/* Versión grande para el hero de SEO local */

.heat-hero {
  max-width: 460px;
  margin-inline: auto;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  border-radius: 20px;
}

.gbp-hero {
  max-width: 460px;
  margin-inline: auto;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  border-radius: 20px;
  padding: 22px 24px 22px;
}

.gbp-hero .gbp-cover { height: 88px; }
.gbp-hero .gbp-name { font-size: 1.4rem; }

.heat-lg { max-width: 340px; gap: 7px; }
.heat-lg span { font-size: 0.95rem; border-radius: 10px; }
.heat-hero .viz-foot { align-items: center; }

.heat-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--gris);
}

.heat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.heat-legend i { width: 10px; height: 10px; border-radius: 3px; }

/* 6 · Ficha de Google Business Profile */

.gbp-cover {
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--marino), var(--azul));
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.gbp-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, 0.06) 14px 15px);
}

.gbp-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.gbp-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gris);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 14px;
}

.gbp-meta .stars { color: #d9900a; }
.gbp-meta .open { color: var(--verde); }

.gbp-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.gbp-actions span {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--azul);
  border: 1px solid var(--niebla);
  border-radius: 999px;
  padding: 8px 6px;
}

.gbp-actions span:first-child { background: var(--azul); color: #fff; border-color: var(--azul); }

.gbp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gbp-stats div {
  background: var(--papel);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 2px;
}

.gbp-stats b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--verde);
}

.gbp-stats span { font-family: var(--font-mono); font-size: 0.62rem; color: var(--gris); }

/* 7 · Checklist de auditoría */

.check { display: grid; gap: 6px; }

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--papel);
  font-size: 0.84rem;
  color: var(--tinta);
}

.check-sum {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.check-sum i:nth-child(1) { background: var(--verde); }
.check-sum i:nth-child(2) { background: #d9900a; }
.check-sum i:nth-child(3) { background: #c0392b; }

/* 8 · Bloque de schema + resultado enriquecido */

.code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.6;
  background: var(--marino);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  overflow-x: auto;
  white-space: pre;
}

.code .k { color: #9fb1ff; }
.code .s { color: #5fd8a8; }
.code .n { color: #ffd166; }

.rich {
  padding: 12px 14px;
  border: 1px solid var(--niebla);
  border-radius: 12px;
}

.rich-url { font-family: var(--font-mono); font-size: 0.68rem; color: var(--gris); margin-bottom: 4px; }
.rich-title { color: var(--azul); font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.rich-meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gris); }
.rich-meta .stars { color: #d9900a; }

/* 9 · Cascada de peticiones */

.wf { display: grid; gap: 6px; }

.wf-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--tinta);
}

.wf-row.is-off { color: var(--gris); text-decoration: line-through; }

.wf-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--papel);
}

.wf-bar i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--s);
  width: var(--w);
  border-radius: 999px;
  background: var(--azul);
}

.wf-row.is-off .wf-bar i { background: #c0392b; opacity: 0.5; }
.wf-row.is-slow .wf-bar i { background: #d9900a; }

/* 10 · Tablero de leads (pipeline) */

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

.pipe-col { display: grid; gap: 6px; align-content: start; }

.pipe-head {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris);
  display: flex;
  justify-content: space-between;
  padding: 0 2px 4px;
}

.pipe-head b { color: var(--tinta); font-weight: 500; }

.pipe-card {
  background: var(--papel);
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--tinta);
  display: grid;
  gap: 3px;
}

.pipe-card small { font-family: var(--font-mono); font-size: 0.6rem; color: var(--gris); }
.pipe-card.is-won { background: rgba(14, 138, 95, 0.09); }
.pipe-card.is-won small { color: var(--verde); }

/* 11 · Resultado de búsqueda antes / después */

.serp-list { display: grid; gap: 8px; }

.serp-item {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--niebla);
}

.serp-item.is-you { background: var(--marino-suave); border-color: transparent; }

.serp-item .u { font-family: var(--font-mono); font-size: 0.66rem; color: var(--gris); }
.serp-item .t { color: var(--azul); font-weight: 600; font-size: 0.92rem; line-height: 1.3; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.serp-item .d { font-size: 0.78rem; color: var(--gris); margin-top: 2px; }

/* 12 · Cobertura de indexación (hero SEO técnico) */

.coverage {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 20px 22px 18px;
  max-width: 460px;
  margin-inline: auto;
}

.coverage-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 16px;
}

.coverage-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 12px;
}

.coverage-bar i { width: var(--w); }
.coverage-bar .c-ok { background: var(--verde); }
.coverage-bar .c-ex { background: var(--niebla); }
.coverage-bar .c-err { background: #c0392b; }

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.coverage-grid div { display: grid; gap: 2px; }

.coverage-grid b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tinta);
}

.coverage-grid .c-ok-t { color: var(--verde); }
.coverage-grid .c-err-t { color: #c0392b; }
.coverage-grid span { font-family: var(--font-mono); font-size: 0.64rem; color: var(--gris); }

.coverage-list { display: grid; gap: 6px; }

.coverage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--papel);
  font-size: 0.8rem;
  color: var(--tinta);
}

.coverage-foot { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--niebla); }

/* 12b · Hoja de ruta trimestral (hero SEO para empresas) */

.roadmap {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 20px 22px 18px;
  max-width: 470px;
  margin-inline: auto;
}

.roadmap-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 14px;
}

.roadmap-q {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-left: 96px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--gris);
}

.roadmap-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.roadmap-name { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--tinta); }

.roadmap-track {
  position: relative;
  height: 16px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--niebla) calc(25% - 1px) 25%),
    var(--papel);
}

.roadmap-track i {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: var(--s);
  width: var(--w);
  border-radius: 5px;
  background: var(--marino-suave);
  border: 1px solid #c9d2e3;
}

.roadmap-track i.is-done { background: var(--verde); border-color: var(--verde); }
.roadmap-track i.is-run { background: var(--azul); border-color: var(--azul); }

.roadmap-now {
  position: absolute;
  left: calc(22px + 96px + (100% - 44px - 96px) * 0.38);
  top: 76px;
  bottom: 70px;
  width: 2px;
  background: #c0392b;
  pointer-events: none;
}

.roadmap-now span {
  position: absolute;
  top: -16px;
  left: -12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #c0392b;
}

.roadmap-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid var(--niebla);
}

.roadmap-kpi { margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem; color: var(--gris); }
.roadmap-kpi b { color: var(--verde); font-weight: 500; }

/* 13 · Resultado doble anuncio + orgánico (hero SEO y SEM) */

.serpdual {
  position: relative;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: 20px 22px 18px;
  max-width: 460px;
  margin-inline: auto;
}

.serpdual-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gris);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--niebla);
  margin-bottom: 12px;
}

.serpdual-item {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--niebla);
  display: grid;
  gap: 4px;
}

.serpdual-item.is-ad { background: #fff8ea; border-color: #f3dfb0; }
.serpdual-item.is-org { background: var(--marino-suave); border-color: transparent; }
.serpdual-item.is-other { opacity: 0.55; }

.serpdual-tag { font-family: var(--font-mono); font-size: 0.66rem; color: var(--gris); }
.serpdual-tag b { color: var(--tinta); font-weight: 500; }
.serpdual-title { color: var(--azul); font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.serpdual-desc { font-size: 0.78rem; color: var(--gris); }
.serpdual-item .chip { justify-self: start; margin-top: 4px; }
.serpdual-foot { padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--niebla); }

/* 14 · Cadena de redirecciones */

.hops-title {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--gris);
  margin: 10px 0 8px;
}

.hops-title:first-of-type { margin-top: 0; }

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

.hops i { width: 12px; height: 2px; background: var(--niebla); flex-shrink: 0; }

.hop {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--tinta);
  background: var(--papel);
  border-radius: 6px;
  padding: 5px 8px;
  white-space: nowrap;
}

.hop-warn { color: #b26a00; background: rgba(217, 144, 10, 0.12); }
.hop-ok { color: var(--verde); background: rgba(14, 138, 95, 0.09); }

/* 15 · Barras horizontales (códigos de respuesta, CPA) */

.hbars { display: grid; gap: 10px; }

.hbar {
  display: grid;
  grid-template-columns: 72px 1fr 54px;
  align-items: center;
  gap: 10px;
}

.hbar-name { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--tinta); }

.hbar-track { position: relative; height: 10px; border-radius: 999px; background: var(--papel); }
.hbar-track i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; }

.hbar-val { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gris); text-align: right; }

/* Tablero a dos columnas */

.pipe-2 { grid-template-columns: 1fr 1fr; }

/* Landings geográficas: sectores a 4 columnas, texto bajo sub-head, enlaces laterales */

.principles-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1000px) { .principles-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles-4 { grid-template-columns: 1fr; } }

.sub-lead {
  color: var(--gris);
  font-size: 0.98rem;
  max-width: 72ch;
  margin: -10px 0 22px;
}

.geo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 22px;
  border-top: 1px solid var(--niebla);
}

.geo-strip-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris);
  margin-right: 4px;
}

.geo-strip a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--tinta);
  border: 1px solid var(--niebla);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.geo-strip a:hover { border-color: var(--azul); color: var(--azul); }
.geo-strip a.is-service { color: var(--azul); border-color: var(--marino-suave); background: var(--marino-suave); }

#geo-strip { padding-block: 0 clamp(40px, 5vw, 64px); }
#geo-strip .geo-strip { margin-top: 0; border-top: none; padding-top: 0; }

.geo-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .geo-grid-3 { grid-template-columns: 1fr; } }

.cta-col .cta-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  max-width: none;
  margin: 0;
}

/* ============================================================
   Páginas de conversión: sobre mí, casos de éxito, contacto, legal
   ============================================================ */

/* Datos bajo el hero (sobre mí / contacto) */

.hero-facts {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--niebla);
  padding-bottom: clamp(32px, 5vw, 64px);
}

.hero-facts li { padding-left: 16px; }

/* Bloques de caso de éxito */

.case-study {
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  margin-bottom: 22px;
}

.case-study-head { margin-bottom: 26px; }

.case-study-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.case-study h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 12px 40px;
  padding-top: 18px;
  border-top: 1px solid var(--niebla);
}

.case-study-stats div { display: grid; gap: 2px; }

.case-study-stats b {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--azul);
}

.case-study-stats span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gris); }

.case-study-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.case-study-flip .case-study-text { order: 2; }

.case-study-text h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul);
  margin: 0 0 6px;
}

.case-study-text p { color: var(--gris); font-size: 0.98rem; margin-bottom: 18px; }
.case-study-text .spec-link { display: inline-block; margin-top: 2px; }

.case-study .viz { box-shadow: none; background: var(--papel); }

@media (max-width: 900px) {
  .case-study-body { grid-template-columns: 1fr; }
  .case-study-flip .case-study-text { order: 0; }
  .case-study-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .case-study-stats b { font-size: 1.5rem; }
}

/* Contacto: vías de contacto */

.hero-grid-contact { align-items: start; }

.contact-ways {
  display: grid;
  gap: 10px;
  padding-bottom: clamp(32px, 5vw, 64px);
}

.contact-way {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--tinta);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-way:hover { border-color: var(--azul); transform: translateY(-1px); }

.contact-way-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--marino-suave);
  color: var(--azul);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.contact-way > span:last-child { display: grid; gap: 1px; }
.contact-way strong { font-size: 0.98rem; font-weight: 600; }
.contact-way small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gris); }

/* Formulario */

.form-card {
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding: clamp(20px, 3vw, 32px);
  align-self: start;
  margin-block: clamp(8px, 2vw, 24px) clamp(32px, 5vw, 64px);
}

.form { display: grid; gap: 14px; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: grid; gap: 6px; }

.field > span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris);
}

.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--tinta);
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--azul);
  background: var(--blanco);
  box-shadow: 0 0 0 3px rgba(33, 64, 232, 0.12);
}

.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }

.field-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gris);
}

.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--azul); }
.field-check a { text-decoration: underline; text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-submit { justify-content: center; width: 100%; font-size: 1.05rem; }

.form-note { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gris); text-align: center; }

.form-status { display: none; font-size: 0.95rem; border-radius: 12px; padding: 12px 14px; }
.form-status.is-ok { display: block; color: var(--verde); background: rgba(14, 138, 95, 0.09); }
.form-status.is-err { display: block; color: #b3261e; background: rgba(179, 38, 30, 0.08); }

@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

/* Páginas legales */

.legal-wrap { max-width: 820px; }

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.legal-updated { font-family: var(--font-mono); font-size: 0.76rem; color: var(--gris); margin-bottom: 36px; }

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 30px 0 10px;
}

.legal p { color: var(--gris); margin-bottom: 12px; }
.legal p a { text-decoration: underline; text-underline-offset: 3px; }
.legal-back { margin-top: 36px; }

/* FAQ con H3 dentro del summary */

.faq-item summary h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
  .btn, .service-card { transition: none; }
}

/* ============================================================
   Formulario por pasos (contacto)
   ============================================================ */

.wizard { gap: 0; }

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}

.wizard-progress i {
  height: 4px;
  border-radius: 999px;
  background: var(--niebla);
  transition: background 0.3s ease;
}

.wizard-progress i.is-on { background: var(--azul); }

.wizard-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard-step.is-active { display: grid; gap: 14px; animation: wizardIn 0.3s ease; }

@keyframes wizardIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wizard-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul);
}

.wizard-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--tinta);
  padding: 0;
  margin: -6px 0 6px;
}

.wizard .field-web input,
.wizard .field-business-step input { font-size: 1.05rem; padding: 14px 16px; }

.wizard-error { color: #b3261e; font-size: 0.9rem; min-height: 0; }
.wizard-error:empty { display: none; }

.wizard-options { display: grid; gap: 10px; }

.wizard-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.wizard-option input { position: absolute; opacity: 0; pointer-events: none; }

.wizard-option span {
  display: block;
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 1rem;
  color: var(--tinta);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.wizard-option:hover span { border-color: var(--azul); background: var(--blanco); transform: translateY(-1px); }
.wizard-option input:checked + span { border-color: var(--azul); background: var(--marino-suave); color: var(--azul); font-weight: 600; }
.wizard-option input:focus-visible + span { outline: 2px solid var(--azul); outline-offset: 2px; }

.wizard-back {
  justify-self: center;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
  padding: 6px 10px;
}

.wizard-back:hover { color: var(--azul); }

.wizard-done { display: grid; gap: 10px; text-align: center; padding: 20px 0; }
.wizard-done[hidden] { display: none; }
.wizard-done .wizard-title { margin: 0; }

/* ============================================================
   Bloque de contacto con formulario (todas las páginas)
   ============================================================ */

.cta-final.cta-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  text-align: left;
}

.cta-split .cta-copy { position: relative; z-index: 1; }
.cta-split .cta-copy > h2 { margin-bottom: 14px; }
.cta-split .cta-copy > p { margin: 0 0 26px; max-width: 56ch; }
.cta-split .cta-cols { grid-template-columns: 1fr; gap: 20px; margin: 0 0 22px; max-width: none; }
.cta-split .cta-phone { font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin: 0; }
.cta-split .cta-phone a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.cta-split .form-card {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--tinta);
  text-align: left;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

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

/* ============================================================
   Hero de contacto equilibrado
   ============================================================ */

.hero-contact .hero-grid-contact {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px);
}

.hero-contact .hero-sub { margin-bottom: 28px; }

.contact-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.contact-facts li {
  display: grid;
  gap: 4px;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 14px;
  padding: 14px 16px;
}

.contact-facts strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--azul);
}

.contact-facts span { font-size: 0.84rem; color: var(--gris); line-height: 1.35; }

.contact-ways-row {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 0;
  margin-bottom: 18px;
}

.contact-ways-row .contact-way { padding: 10px 12px; gap: 10px; }
.contact-ways-row .contact-way-icon { width: 34px; height: 34px; }
.contact-ways-row .contact-way strong { font-size: 0.9rem; }

.contact-prices { font-family: var(--font-mono); font-size: 0.74rem; color: var(--gris); line-height: 1.6; }

.form-card-hero { margin: 0; }

.form-trust {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--niebla);
  display: grid;
  gap: 12px;
}

.form-trust-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris);
}

.form-trust-list { list-style: none; display: grid; gap: 8px; }

.form-trust-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--tinta);
}

.form-trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--verde);
}

.form-trust-who {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--papel);
  border-radius: 12px;
  padding: 10px 12px;
}

.form-trust-who img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--marino-suave);
}

.form-trust-who p { display: grid; gap: 1px; }
.form-trust-who strong { font-size: 0.9rem; }
.form-trust-who span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--gris); }

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

@media (max-width: 560px) {
  .contact-facts, .contact-ways-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Página de gracias
   ============================================================ */

.hero-thanks .hero-grid { align-items: center; padding-block: clamp(40px, 6vw, 88px); }

.thanks-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.thanks-title em { font-style: normal; color: var(--azul); display: block; }

.thanks-urgent { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gris); margin-top: 20px; }
.thanks-urgent a { color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }

.thanks-card {
  max-width: 460px;
  margin-inline: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12);
  padding-top: 30px;
}

.thanks-check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: var(--verde);
  box-shadow: 0 0 0 8px rgba(14, 138, 95, 0.12);
}

.hero-thanks .hero-ctas { padding-bottom: 0; }
.spec-grid .spec-card h3 { min-height: 0; }

/* El formulario dentro del bloque oscuro conserva sus colores */
.cta-final.cta-split .form-card p { margin: 0; max-width: none; color: var(--gris); }
.cta-final.cta-split .form-card .wizard-title { color: var(--tinta); margin: -6px 0 6px; }
.cta-final.cta-split .form-card .wizard-kicker { color: var(--azul); }
.cta-final.cta-split .form-card .wizard-error { color: #b3261e; }
.cta-final.cta-split .form-card .form-status.is-ok { color: var(--verde); }
.cta-final.cta-split .form-card .form-status.is-err { color: #b3261e; }
.cta-final.cta-split .form-card .field-check span { color: var(--gris); }
.cta-final.cta-split .form-card { align-self: center; }

/* ============================================================
   Home · servicios en cuadrícula bento (3 + 2, tarjetas iguales)
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bento-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--blanco);
  border: 1px solid var(--niebla);
  border-radius: 22px;
  padding: 24px 24px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bento-card.bento-wide { grid-column: span 3; }

.bento-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(11, 21, 38, 0.09); border-color: #c9d2e3; }

.bento-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }

.bento-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  background: var(--marino-suave); color: var(--azul);
}

.bento-more { font-size: 0.86rem; font-weight: 600; color: var(--azul); }

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.bento-card > p { color: var(--gris); font-size: 0.95rem; min-height: 2.9em; }

/* Panel visual común: misma altura en todas las tarjetas */
.bento-panel {
  position: relative;
  flex: 1;
  min-height: 190px;
  margin-top: 8px;
  border-radius: 16px;
  background: linear-gradient(160deg, #f3f6fb, #e9eef6);
  border: 1px solid var(--niebla);
  overflow: hidden;
}

/* Etiquetas al pie */
.bento-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.bento-tags h4, .bento-tags .tag-like {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--marino);
  background: var(--papel);
  border: 1px solid var(--niebla);
  border-radius: 999px;
  padding: 5px 10px;
}

.bp-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(11, 21, 38, 0.08);
  white-space: nowrap;
}
.bp-chip.ok { color: var(--verde); }
.bp-chip.bad { color: #c0392b; }

/* 01 · Técnico: anillos + Core Web Vitals */
.bp-tech { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 18px 16px; }
.bp-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bp-rings > div { display: grid; justify-items: center; gap: 6px; }
.bp-rings small { font-family: var(--font-mono); font-size: 0.62rem; color: var(--gris); }

.ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--verde);
  background:
    radial-gradient(closest-side, #fff 78%, transparent 80%),
    conic-gradient(var(--verde) calc(var(--p) * 1%), #dfe5ee 0);
  box-shadow: 0 6px 16px rgba(14, 138, 95, 0.12);
}

.bp-vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bp-vitals span {
  text-align: center;
  font-family: var(--font-mono); font-size: 0.66rem; color: var(--verde);
  background: #fff; border-radius: 8px; padding: 6px 4px;
}
.bp-vitals b { color: var(--tinta); font-weight: 500; margin-right: 3px; }

/* 02 · On-Page: buscador + resultado enriquecido */
.bp-serp { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bp-search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 8px 14px;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--tinta);
  box-shadow: 0 4px 12px rgba(11, 21, 38, 0.06);
}
.bp-glass { width: 10px; height: 10px; border: 2px solid var(--gris); border-radius: 50%; position: relative; flex-shrink: 0; }
.bp-glass::after { content: ""; position: absolute; width: 5px; height: 2px; background: var(--gris); right: -5px; bottom: -3px; transform: rotate(45deg); }
.bp-result {
  display: grid; gap: 3px;
  background: #fff; border-radius: 12px; padding: 12px 14px;
  border-left: 3px solid var(--azul);
  box-shadow: 0 8px 20px rgba(11, 21, 38, 0.07);
}
.bp-result .u { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.64rem; color: var(--gris); }
.bp-result .u i { width: 12px; height: 12px; border-radius: 50%; background: var(--azul); }
.bp-result .t { color: var(--azul); font-weight: 600; font-size: 0.88rem; line-height: 1.3; }
.bp-result .r { font-family: var(--font-mono); font-size: 0.64rem; color: var(--gris); }
.bp-result .r em { font-style: normal; color: #d9900a; }
.bp-result .faq { font-family: var(--font-mono); font-size: 0.62rem; color: var(--marino); border-top: 1px solid var(--niebla); padding-top: 5px; margin-top: 3px; }
.bp-badge {
  position: absolute; right: 12px; top: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  color: #fff; background: var(--verde); border-radius: 999px; padding: 3px 9px;
}

/* 03 · Off-Page: grafo de enlaces con autoridad */
.bp-links { display: grid; place-items: center; padding: 10px 10px 34px; }
.bp-links svg { width: 100%; max-width: 300px; height: auto; display: block; }
.bp-links .lk { fill: none; stroke: url(#lkg); stroke-width: 2.2; }
.bp-links .lk.bad { stroke: #c0392b; stroke-dasharray: 4 4; stroke-width: 1.5; }
.bp-links .nd circle { fill: #fff; stroke: var(--azul); stroke-width: 1.8; }
.bp-links .nd text { font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 500; fill: var(--marino); text-anchor: middle; }
.bp-links .nd.bad circle { fill: #fdecea; stroke: #c0392b; }
.bp-links .nd.bad text { fill: #c0392b; }
.bp-links .me circle { fill: var(--azul); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 4px 10px rgba(33, 64, 232, 0.35)); }
.bp-links .me text { font-family: "Bricolage Grotesque", sans-serif; font-size: 13px; font-weight: 800; fill: #fff; text-anchor: middle; }
.bp-links .bp-chip.ok { left: 12px; bottom: 10px; }
.bp-links .bp-chip.bad { right: 12px; bottom: 10px; }

/* 04 · Local: mapa con ficha emergente */
.bp-map {
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(22, 41, 75, 0.05) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(22, 41, 75, 0.05) 22px 23px),
    linear-gradient(160deg, #eef2f8, #dfe7f2);
}
.bp-map .road { position: absolute; background: #fff; }
.bp-map .r1 { left: -10%; top: 62%; width: 120%; height: 12px; transform: rotate(-7deg); }
.bp-map .r2 { left: 30%; top: -10%; width: 10px; height: 130%; transform: rotate(14deg); }
.bp-map .park { position: absolute; left: 6%; top: 12%; width: 18%; height: 34%; border-radius: 14px; background: rgba(14, 138, 95, 0.12); }
.bp-map .pin { position: absolute; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--marino); box-shadow: 0 0 0 3px #fff; }
.bp-map .pin.me { left: 40%; top: 46%; width: 30px; height: 30px; background: var(--azul); box-shadow: 0 0 0 4px #fff, 0 0 0 12px rgba(33, 64, 232, 0.15); }
.bp-map .p2 { left: 14%; top: 64%; }
.bp-map .p3 { left: 76%; top: 72%; }
.bp-pop {
  position: absolute; left: 49%; top: 14%;
  display: grid; gap: 2px;
  background: #fff; border-radius: 12px; padding: 10px 14px;
  box-shadow: 0 12px 28px rgba(11, 21, 38, 0.14);
}
.bp-pop strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--azul); }
.bp-pop .st { font-family: var(--font-mono); font-size: 0.66rem; color: #d9900a; }
.bp-pop .st b { color: var(--tinta); font-weight: 500; }
.bp-pop .op { font-family: var(--font-mono); font-size: 0.64rem; color: var(--verde); }
.bp-map .bp-chip.ok { right: 12px; bottom: 12px; }

/* 05 · GEO: conversación con IA y fuente citada */
.bp-ai { display: flex; flex-direction: column; gap: 8px; padding: 16px; justify-content: center; }
.bp-ai .msg { font-size: 0.82rem; line-height: 1.45; border-radius: 14px; padding: 9px 13px; }
.bp-ai .msg.me { align-self: flex-end; max-width: 82%; background: var(--marino); color: #fff; border-bottom-right-radius: 4px; }
.bp-ai .msg.ai { align-self: flex-start; max-width: 92%; display: flex; gap: 10px; align-items: flex-start; background: #fff; color: var(--tinta); border-bottom-left-radius: 4px; box-shadow: 0 6px 16px rgba(11, 21, 38, 0.06); }
.bp-ai .av { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.6rem; color: #fff; background: linear-gradient(135deg, var(--azul), #7a5cff); }
.bp-ai .msg.ai b { color: var(--azul); }
.bp-ai .msg.ai i { font-style: normal; font-family: var(--font-mono); font-size: 0.62rem; color: var(--azul); background: var(--marino-suave); border-radius: 5px; padding: 0 5px; }
.bp-ai .src {
  align-self: flex-start;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--tinta);
  background: #fff; border: 1px solid var(--azul); border-radius: 999px; padding: 4px 12px 4px 6px;
}
.bp-ai .src small { color: var(--gris); }
.bp-ai .fav { width: 14px; height: 14px; border-radius: 50%; background: var(--azul); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card, .bento-card.bento-wide { grid-column: span 1; }
  .bento-card:first-child { grid-column: span 2; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-card.bento-wide, .bento-card:first-child { grid-column: auto; }
}
.bp-ai .stars5 { color: #d9900a; letter-spacing: 1px; white-space: nowrap; }

/* ============================================================
   Visualizaciones exclusivas: On Page, Off Page y GEO
   ============================================================ */

.v2-anat, .v2-scatter, .v2-ais { max-width: 470px; margin-inline: auto; border-radius: 20px; box-shadow: 0 24px 60px rgba(11, 21, 38, 0.12); }

/* ---- On Page · anatomía */
.anat-frame { border: 1px solid var(--niebla); border-radius: 14px; background: var(--papel); padding: 0 12px 10px; display: grid; gap: 7px; }
.anat-bar { display: flex; align-items: center; gap: 5px; margin: 0 -12px 4px; padding: 8px 12px; border-bottom: 1px solid var(--niebla); background: #fff; border-radius: 14px 14px 0 0; }
.anat-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--niebla); }
.anat-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 0.62rem; color: var(--gris); }
.anat-row { display: grid; grid-template-columns: 1fr 124px; align-items: center; gap: 10px; }
.anat-tag { position: relative; font-family: var(--font-mono); font-size: 0.62rem; color: var(--verde); background: rgba(14, 138, 95, 0.09); border-radius: 999px; padding: 3px 8px 3px 20px; white-space: nowrap; }
.anat-tag::before { content: "✓"; position: absolute; left: 7px; }
.anat-tag::after { content: ""; position: absolute; right: 100%; top: 50%; width: 10px; border-top: 1px dashed #9fb1ff; }
.anat-mock { background: #fff; border-radius: 8px; padding: 7px 9px; }
.m-title { font-size: 0.72rem; color: var(--azul); font-weight: 600; }
.m-h1 b { display: block; height: 10px; width: 78%; border-radius: 4px; background: var(--tinta); }
.m-lines { display: grid; gap: 4px; }
.m-lines i { display: block; height: 5px; border-radius: 3px; background: #dfe5ee; }
.m-lines i.s { width: 60%; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.m-cards i { font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; text-align: center; color: var(--marino); background: var(--marino-suave); border-radius: 5px; padding: 4px 2px; }
.m-faq { display: grid; gap: 3px; }
.m-faq i { font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; color: var(--marino); border-bottom: 1px solid var(--niebla); padding-bottom: 2px; }
.m-cta b { display: inline-block; font-size: 0.66rem; color: #fff; background: var(--azul); border-radius: 999px; padding: 4px 12px; }

/* ---- On Page · embudo de intención */
.fn-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fn-col { display: grid; align-content: start; gap: 6px; border-radius: 12px; padding: 12px 10px; position: relative; }
.fn-col.c1 { background: #eef2fb; }
.fn-col.c2 { background: #dfe6fb; }
.fn-col.c3 { background: var(--azul); }
.fn-col:not(:last-child)::after { content: "›"; position: absolute; right: -9px; top: 12px; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 0.8rem; color: var(--azul); box-shadow: 0 2px 6px rgba(11, 21, 38, 0.12); }
.fn-head { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--tinta); }
.c3 .fn-head, .c3 .fn-page { color: #fff; }
.fn-kw { font-family: var(--font-mono); font-size: 0.62rem; line-height: 1.3; color: var(--tinta); background: #fff; border-radius: 7px; padding: 5px 7px; display: grid; }
.fn-kw small { color: var(--gris); }
.fn-page { font-size: 0.74rem; font-weight: 600; color: var(--azul); margin-top: 4px; }

/* ---- On Page · silos */
.v2-silo svg { width: 100%; height: auto; display: block; }
.v2-silo .fl { stroke: var(--azul); fill: none; stroke-linecap: round; }
.v2-silo .w3 { stroke-width: 5; opacity: 0.85; }
.v2-silo .w2 { stroke-width: 3; opacity: 0.55; }
.v2-silo .w1 { stroke-width: 1.5; opacity: 0.3; }
.v2-silo .il { fill: none; stroke: var(--verde); stroke-width: 1.6; stroke-dasharray: 4 3; }
.v2-silo .n rect { fill: #fff; stroke: var(--azul); stroke-width: 1.5; }
.v2-silo .n text { font-family: "Instrument Sans", sans-serif; font-size: 9.5px; font-weight: 600; fill: var(--tinta); text-anchor: middle; }
.v2-silo .root rect { fill: var(--azul); }
.v2-silo .root text { fill: #fff; }
.v2-silo .muted rect { stroke: #c9d2e3; }
.v2-silo .art rect { fill: #e7f5ef; stroke: var(--verde); }
.silo-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-family: var(--font-mono); font-size: 0.64rem; color: var(--gris); }
.silo-legend span { display: inline-flex; align-items: center; gap: 6px; }
.silo-legend i { width: 18px; height: 3px; border-radius: 2px; }
.lg-a { background: var(--azul); }
.lg-b { background: repeating-linear-gradient(90deg, var(--verde) 0 4px, transparent 4px 7px); }

/* ---- On Page · briefing */
.br-doc { position: relative; background: #fff; border: 1px solid var(--niebla); border-left: 4px solid var(--azul); border-radius: 12px; padding: 14px 16px; display: grid; gap: 9px; }
.br-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--tinta); padding-bottom: 8px; border-bottom: 1px solid var(--niebla); }
.br-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; align-items: baseline; }
.br-row > span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); }
.br-row > b { font-size: 0.84rem; font-weight: 600; color: var(--tinta); }
.br-row > b.ok { color: var(--verde); }
.br-row ul { list-style: none; display: grid; gap: 3px; margin-top: 2px; }
.br-row li { font-size: 0.8rem; color: var(--tinta); padding-left: 18px; position: relative; }
.br-row li::before { content: ""; position: absolute; left: 0; top: 4px; width: 10px; height: 10px; border: 1.5px solid var(--azul); border-radius: 3px; }
.br-row.col { grid-template-columns: 110px 1fr; }
.br-row b.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.br-row b.tags i { font-style: normal; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; color: var(--marino); background: var(--marino-suave); border-radius: 999px; padding: 2px 8px; }

/* ---- On Page · tabla con sparklines */
.pg-head, .pg-row { display: grid; grid-template-columns: 1.6fr 0.5fr 0.5fr 1fr; align-items: center; gap: 8px; }
.pg-head { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gris); padding: 0 8px 6px; }
.pg-row { background: var(--papel); border-radius: 9px; padding: 7px 8px; margin-bottom: 5px; }
.pg-url { font-family: var(--font-mono); font-size: 0.68rem; color: var(--azul); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-b { font-family: var(--font-mono); font-size: 0.74rem; color: var(--gris); text-decoration: line-through; }
.pg-a { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; color: var(--verde); }
.pg-s svg { width: 100%; height: 26px; display: block; }
.pg-s polyline { fill: none; stroke: var(--verde); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pg-s circle { fill: var(--verde); }

/* ---- Off Page · mapa de dispersión */
.v2-scatter svg { width: 100%; height: auto; display: block; }
.v2-scatter .q-ideal { fill: rgba(14, 138, 95, 0.08); stroke: rgba(14, 138, 95, 0.25); stroke-dasharray: 4 3; }
.v2-scatter .q-bad { fill: rgba(192, 57, 43, 0.06); stroke: rgba(192, 57, 43, 0.22); stroke-dasharray: 4 3; }
.v2-scatter .ql { font-family: "IBM Plex Mono", monospace; font-size: 9px; font-weight: 500; fill: var(--verde); }
.v2-scatter .ql.bad { fill: #c0392b; }
.v2-scatter .ax { stroke: #c9d2e3; stroke-width: 1.2; }
.v2-scatter .at { font-family: "IBM Plex Mono", monospace; font-size: 8.5px; fill: var(--gris); }
.v2-scatter circle.good { fill: var(--verde); stroke: #fff; stroke-width: 1.5; }
.v2-scatter circle.mid { fill: var(--azul); opacity: 0.55; }
.v2-scatter circle.bad { fill: #fff; stroke: #c0392b; stroke-width: 2; }
.sc-legend { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.68rem; color: var(--gris); margin-top: 6px; }
.sc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sc-legend b { color: var(--tinta); font-weight: 500; }
.sc-legend i { width: 10px; height: 10px; border-radius: 50%; }
.sc-legend .good { background: var(--verde); }
.sc-legend .mid { background: var(--azul); opacity: 0.55; }
.sc-legend .bad { border: 2px solid #c0392b; }

/* ---- Off Page · brecha */
.gp-row { display: grid; grid-template-columns: 112px 1fr 40px; align-items: center; gap: 10px; margin-bottom: 10px; }
.gp-n { font-size: 0.8rem; color: var(--tinta); }
.gp-row b { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; text-align: right; color: var(--tinta); }
.gp-t { position: relative; height: 14px; border-radius: 999px; background: var(--papel); }
.gp-t i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 999px; background: var(--marino); opacity: 0.75; }
.gp-row.you .gp-n { font-weight: 700; color: var(--azul); }
.gp-row.you .gp-t i { background: var(--azul); opacity: 1; }
.gp-row.you b { color: var(--azul); }
.gp-t em { position: absolute; top: -2px; bottom: -2px; left: var(--s); width: var(--w); border: 2px dashed #d9900a; border-left: 0; border-radius: 0 999px 999px 0; font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; color: #b26a00; display: grid; place-items: center; background: rgba(217, 144, 10, 0.08); }

/* ---- Off Page · rosco */
.dn-wrap { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 18px; }
.dn-wrap svg { width: 150px; height: 150px; }
.dn-big { font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; font-weight: 800; fill: var(--azul); text-anchor: middle; }
.dn-sm { font-family: "IBM Plex Mono", monospace; font-size: 8px; fill: var(--gris); text-anchor: middle; }
.dn-leg { list-style: none; display: grid; gap: 7px; }
.dn-leg li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--tinta); }
.dn-leg i { width: 12px; height: 12px; border-radius: 4px; }
.dn-leg b { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; color: var(--gris); }


/* ---- Off Page · línea de tiempo */
.tl-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tl-col { display: grid; gap: 5px; align-content: start; }
.tl-col > p { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; color: var(--gris); }
.tl-col .b { font-size: 0.66rem; line-height: 1.25; color: var(--tinta); background: var(--papel); border-radius: 7px; padding: 5px 6px; display: flex; justify-content: space-between; gap: 4px; }
.tl-col .b i { font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; color: var(--azul); }
.tl-col .b.hot { background: var(--marino-suave); }
.tl-n { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--verde); }
.tl-bar { display: flex; gap: 3px; margin-top: 10px; height: 8px; }
.tl-bar i { width: var(--w); border-radius: 999px; background: var(--azul); }
.tl-bar i:nth-child(1) { opacity: 0.35; } .tl-bar i:nth-child(2) { opacity: 0.55; } .tl-bar i:nth-child(3) { opacity: 0.75; }

/* ---- GEO · panel de asistentes */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ai-t { display: grid; gap: 4px; border-radius: 12px; padding: 12px 10px; border: 1px solid var(--niebla); }
.ai-t b { font-family: var(--font-display); font-size: 0.92rem; color: var(--tinta); }
.ai-t span { font-family: var(--font-mono); font-size: 0.62rem; }
.ai-t.on { background: rgba(14, 138, 95, 0.06); border-color: rgba(14, 138, 95, 0.25); }
.ai-t.on span { color: var(--verde); }
.ai-t.on span::before { content: "● "; }
.ai-t.off { background: var(--papel); }
.ai-t.off span { color: var(--gris); }
.ai-quote { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; background: var(--papel); border-radius: 12px; padding: 10px 12px; }
.ai-quote .av { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.6rem; color: #fff; background: linear-gradient(135deg, var(--azul), #7a5cff); }
.ai-quote p { font-size: 0.82rem; line-height: 1.45; color: var(--tinta); }
.ai-quote b { color: var(--azul); }

/* ---- GEO · AI Overview */
.aio-search { font-family: var(--font-mono); font-size: 0.72rem; color: var(--tinta); background: var(--papel); border-radius: 999px; padding: 8px 14px; margin-bottom: 10px; }
.aio-search::before { content: "⌕ "; color: var(--gris); }
.aio-box { border-radius: 14px; padding: 12px 14px; background: linear-gradient(135deg, #eef1ff, #f6f0ff); border: 1px solid #dcd6fb; }
.aio-h { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; color: #5b47d6; margin-bottom: 6px; }
.aio-t { font-size: 0.84rem; line-height: 1.45; color: var(--tinta); margin-bottom: 10px; }
.aio-src { display: flex; flex-wrap: wrap; gap: 6px; }
.aio-src span { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.62rem; color: var(--gris); background: #fff; border-radius: 8px; padding: 4px 8px; border: 1px solid var(--niebla); }
.aio-src span i { width: 10px; height: 10px; border-radius: 50%; background: #c9d2e3; }
.aio-src span.me { color: var(--azul); border-color: var(--azul); }
.aio-src span.me i { background: var(--azul); }
.aio-org { margin-top: 10px; padding: 10px 12px; border: 1px dashed var(--niebla); border-radius: 12px; opacity: 0.6; }
.aio-org p { font-family: var(--font-mono); font-size: 0.6rem; color: var(--gris); }
.aio-org b { font-size: 0.82rem; color: var(--azul); }

/* ---- GEO · extracción */
.ex-grid { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 8px; }
.ex-web, .ex-ai { border-radius: 12px; padding: 12px; display: grid; gap: 5px; }
.ex-web { background: var(--papel); border: 1px solid var(--niebla); }
.ex-web i { height: 5px; border-radius: 3px; background: #dfe5ee; }
.ex-web i.s { width: 60%; }
.ex-web mark { background: rgba(33, 64, 232, 0.12); color: var(--tinta); font-size: 0.74rem; line-height: 1.4; border-radius: 4px; padding: 3px 4px; box-shadow: inset 3px 0 0 var(--azul); }
.ex-k { font-family: var(--font-mono); font-size: 0.58rem; color: var(--gris); margin-bottom: 2px; }
.ex-arrow { font-size: 1.3rem; color: var(--azul); text-align: center; }
.ex-ai { background: var(--marino); }
.ex-ai .ex-k { color: rgba(255, 255, 255, 0.55); }
.ex-ai p:last-child { font-size: 0.78rem; line-height: 1.45; color: #fff; }
.ex-ai b { color: #9fb1ff; }
.ex-ai .cit { font-family: var(--font-mono); font-size: 0.58rem; color: var(--marino); background: #9fb1ff; border-radius: 4px; padding: 0 4px; }

/* ---- GEO · entidad */
.v2-entity svg { width: 100%; height: auto; display: block; }
.v2-entity path { stroke: #c9d2e3; stroke-width: 1.5; stroke-dasharray: 3 3; }
.v2-entity .en rect { fill: #fff; stroke: #9fb1ff; stroke-width: 1.3; }
.v2-entity .en text { font-family: "Instrument Sans", sans-serif; font-size: 10px; font-weight: 600; fill: var(--tinta); text-anchor: middle; }
.v2-entity .ec circle { fill: var(--azul); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 6px 14px rgba(33, 64, 232, 0.35)); }
.v2-entity .ec text { font-family: "Bricolage Grotesque", sans-serif; font-size: 10.5px; font-weight: 800; fill: #fff; text-anchor: middle; }

/* ---- GEO · cuota de voz */
.sh-row { display: grid; grid-template-columns: 48px 1fr 42px; align-items: center; gap: 10px; margin-bottom: 8px; }
.sh-row span { font-family: var(--font-mono); font-size: 0.66rem; color: var(--gris); }
.sh-row b { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; color: var(--azul); text-align: right; }
.sh-bar { display: flex; height: 16px; border-radius: 6px; overflow: hidden; gap: 2px; }
.sh-bar i { width: var(--w); }
.sh-bar .y, .sh-leg .y { background: var(--azul); }
.sh-bar .c, .sh-leg .c { background: #d9900a; opacity: 0.75; }
.sh-bar .o, .sh-leg .o { background: #dfe5ee; }
.sh-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-family: var(--font-mono); font-size: 0.64rem; color: var(--gris); }
.sh-leg span { display: inline-flex; align-items: center; gap: 6px; }
.sh-leg i { width: 10px; height: 10px; border-radius: 3px; }

@media (max-width: 560px) {
  .fn-cols, .ai-grid, .tl-cols { grid-template-columns: 1fr 1fr; }
  .dn-wrap { grid-template-columns: 1fr; justify-items: center; }
  .ex-grid { grid-template-columns: 1fr; }
  .ex-arrow { transform: rotate(90deg); }
  .anat-row { grid-template-columns: 1fr 96px; }
}

/* ---- Off Page · criba de webs candidatas */
.pr-head, .pr-row { display: grid; grid-template-columns: 1.7fr 0.7fr 0.8fr 0.7fr 0.8fr; align-items: center; gap: 6px; }
.pr-head { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gris); padding: 0 8px 6px; }
.pr-head span:not(:first-child), .pr-row > *:not(:first-child) { text-align: center; }
.pr-row { background: var(--papel); border-radius: 9px; padding: 8px; margin-bottom: 5px; }
.pr-row.off { opacity: 0.55; }
.pr-w { font-family: var(--font-mono); font-size: 0.66rem; color: var(--tinta); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-row .y { color: var(--verde); font-weight: 700; }
.pr-row .m { color: #d9900a; font-weight: 700; }
.pr-row .n { color: #c0392b; font-weight: 700; }
.pr-row b { font-family: var(--font-display); font-size: 0.9rem; color: var(--azul); }
.pr-row em { font-style: normal; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; border-radius: 999px; padding: 2px 8px; justify-self: center; }
.pr-row em.ok { color: var(--verde); background: rgba(14, 138, 95, 0.1); }
.pr-row em.wait { color: #b26a00; background: rgba(217, 144, 10, 0.12); }
.pr-row em.no { color: #c0392b; background: rgba(192, 57, 43, 0.1); }
