/* marca.css · 2026-10-14
   Capa de marca para las páginas interiores (plantilla .pnav / .hero / .article-wrap: blog, países, implementación,
   agente, revisión, calculadora). Las deja con el mismo estilo que la home (styles.css), que es la referencia:
   - h1: palabra clave en azul con el subrayado curvo de "venda más".
   - h2/h3: sin resaltado, tinta sólida, mismos tamaños que las secciones de la home.
   - etiquetas en pastilla, botones, cajas, tablas y preguntas frecuentes iguales a la home.
   Se carga DESPUÉS de los <style> de cada página; "html body" sube la especificidad para ganarles sin !important. */

html body {
  --m-azul: #1F48FF;
  --m-tinta: #0b0b0f;
  --m-texto: rgba(11, 11, 15, .72);
  --m-borde: rgba(15, 23, 42, .08);
  --m-sombra: 0 6px 18px rgba(15, 23, 42, .04);
}

/* ── Títulos ─────────────────────────────────────────────── */
html body .hero h1 {
  color: var(--m-tinta);
  font-size: clamp(34px, 4.3vw, 58px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
/* Subrayado curvo de la home (mismo trazo que .subraya), repetido por línea si la frase se parte. */
html body h1 .hl, html body .blog-hero h1 span {
  animation: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M4 14 C 50 6, 120 4, 196 10' fill='none' stroke='%231F48FF' stroke-width='5' stroke-linecap='round' opacity='.9'/%3E%3C/svg%3E") no-repeat left bottom / 100% .3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--m-azul) !important;
  -webkit-text-fill-color: var(--m-azul);
  padding-bottom: .1em;
}
/* En subtítulos no se resalta nada: la home los deja en tinta. */
html body h2 .hl, html body h3 .hl, html body p .hl, html body li .hl {
  animation: none;
  background: none;
  color: inherit !important;
  -webkit-text-fill-color: currentColor;
  padding: 0;
}
html body .article-wrap h2 {
  color: var(--m-tinta);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
}
html body .article-wrap h3 { color: var(--m-tinta); font-weight: 800; letter-spacing: -.01em; }
html body .hero-sub { color: rgba(11, 11, 15, .62); }
html body .article-wrap p, html body .article-wrap li { color: var(--m-texto); }
html body .article-wrap strong { color: var(--m-tinta); }

/* ── Etiquetas en pastilla (la .eyebrow de la home) ──────── */
html body .hero-tag, html body .partner-eyebrow {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  color: var(--m-azul);
  display: inline-flex;
  font-size: 10.5px;
  font-weight: 900;
  gap: 7px;
  letter-spacing: .1em;
  padding: 5px 11px;
  text-transform: uppercase;
}
html body .hero-tag-dot { background: var(--m-azul); border-radius: 50%; height: 6px; width: 6px; box-shadow: 0 0 0 3px rgba(31, 72, 255, .12); animation: none; }

/* ── Botones (iguales a la home) ─────────────────────────── */
html body .btn-primary, html body .pbtn {
  background: linear-gradient(180deg, #3b5bff 0%, #1F48FF 100%);
  border: 0;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(31, 72, 255, .35), 0 6px 16px rgba(31, 72, 255, .18);
  color: #fff;
  font-weight: 800;
  letter-spacing: -.01em;
}
html body .btn-primary:hover, html body .pbtn:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 2px 4px rgba(31, 72, 255, .3), 0 14px 32px rgba(31, 72, 255, .28);
  filter: none;
  transform: translateY(-2px);
}
html body .btn-secondary {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  color: rgba(11, 11, 15, .8);
  font-weight: 800;
}
html body .btn-secondary:hover { background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .08); color: var(--m-tinta); transform: translateY(-2px); }

/* ── Cajas: una sola familia ─────────────────────────────── */
/* Respuesta corta / dato clave: como la intro de las páginas nuevas (línea azul a la izquierda). */
html body .answer-box, html body .info-box, html body .pull-quote {
  background: #fff;
  border: 1px solid var(--m-borde);
  border-left: 4px solid var(--m-azul);
  border-radius: 14px;
  box-shadow: var(--m-sombra);
  color: var(--m-texto);
  font-style: normal;
}
/* Llamadas a la acción dentro del texto y al final: tarjeta con la línea de color arriba (servicios B). */
html body .mid-cta, html body .cta-final, html body .gift-banner, html body .partner-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--m-azul);
  border-radius: 16px;
  box-shadow: none;
  color: var(--m-texto);
}
html body .cta-final h2, html body .cta-final h3, html body .mid-cta strong, html body .gift-banner strong { color: var(--m-tinta); -webkit-text-fill-color: var(--m-tinta); }
html body .cta-final p, html body .mid-cta p { color: var(--m-texto); }
/* Tarjetas de características, pasos y relacionados: borde fino y sombra gris, como las de la home. */
html body .feature-item, html body .step, html body .related a, html body .toc {
  background: #fff;
  border: 1px solid var(--m-borde);
  border-radius: 16px;
  box-shadow: var(--m-sombra);
}
html body .feature-ico { background: #eef1ff; color: var(--m-azul); border-radius: 12px; }
html body .step-num { background: #eef1ff; color: var(--m-azul); }

/* ── Tablas ──────────────────────────────────────────────── */
html body .table-wrap { border: 1px solid var(--m-borde); border-radius: 14px; box-shadow: var(--m-sombra); overflow-x: auto; }
html body .compare-table th, html body .price-table th, html body .tabla-paises th {
  background: #f3f5ff;
  color: var(--m-tinta);
  font-weight: 800;
}
html body .compare-table td, html body .price-table td, html body .tabla-paises td { border-color: var(--m-borde); }

/* ── Preguntas frecuentes (las de la home) ───────────────── */
html body .faq details {
  background: #fff;
  border: 1px solid var(--m-borde);
  border-radius: 16px;
  box-shadow: var(--m-sombra);
  margin-bottom: 10px;
  overflow: hidden;
}
html body .faq summary { color: var(--m-tinta); font-weight: 800; }

/* Enlaces del texto: azul de marca, subrayado discreto. */
html body .article-wrap a:not([class]) { color: var(--m-azul); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Preguntas frecuentes en formato h3 + p (plantilla interior): cada pregunta como tarjeta, igual que las de la home. */
html body h2#preguntas ~ h3 {
  background: #fff;
  border: 1px solid var(--m-borde);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  color: var(--m-tinta);
  font-size: 16px;
  font-weight: 800;
  margin: 10px 0 0;
  padding: 18px 20px 6px;
}
html body h2#preguntas ~ h3 + p {
  background: #fff;
  border: 1px solid var(--m-borde);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: var(--m-sombra);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0 20px 18px;
}
/* La frase resaltada del h1 no se parte en pantallas anchas (en celular sí, para no salirse). */
@media (min-width: 640px) { html body h1 .hl { white-space: nowrap; } }
