/* ==========================================================================
 * DP Tienda Online — Sistema Visual 2027 para Pilares, Nichos, Migraciones,
 * Hubs Internacionales, Calculadoras y Herramientas Interactivas (44 páginas).
 * 100% alineado con home-nueva.css y dp-tools.css:
 *   Fondo crema (#fbf8f3), tarjetas blancas (#fff), tinta (#17151c),
 *   dorado oficial DP (#d4a017 / #f4d486) y tipografía Bricolage Grotesque.
 * Sin dependencia de journey-guide.css ni franjas repetitivas.
 * ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-grotesque-latin-700-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.vp27-page {
  --bg: #fbf8f3;
  --bg-2: #f4efe6;
  --card: #ffffff;
  --ink: #17151c;
  --ink-2: #4a4652;
  --muted: #6f6a77;
  --line: #e7e0d4;
  --line-2: #d9d0c1;
  --brand: #d4a017;
  --brand-2: #e6b422;
  --brand-hover: #b8860b;
  --brand-ink: #8a6100;
  --brand-soft: #fbefd0;
  --hl: #f4d486;
  --ok: #059669;
  --ok-bright: #34d399;
  --err: #dc2626;
  --r: 20px;
  --r-lg: 26px;
  --shadow: 0 1px 2px rgba(23, 21, 28, .04), 0 12px 32px rgba(23, 21, 28, .07);
  --shadow-lg: 0 2px 4px rgba(23, 21, 28, .05), 0 24px 60px rgba(23, 21, 28, .12);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.vp27-page *,
.vp27-page *::before,
.vp27-page *::after {
  box-sizing: border-box;
}

.vp27-page main {
  display: block;
}

.vp27-page h1,
.vp27-page h2,
.vp27-page h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}

.vp27-page p {
  text-wrap: pretty;
}

.vp27-page :focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.vp27-page .dpt-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Navbar sólida negra igual a la nueva home y dp-tools */
.vp27-page .navbar,
.vp27-page .navbar.scrolled {
  background: #17151c !important;
  border-bottom: 1px solid rgba(212, 160, 23, .16);
  box-shadow: 0 10px 30px -18px rgba(23, 21, 28, .55);
}

.vp27-page .navbar::before,
.vp27-page .navbar::after {
  display: none;
}

@media (min-width: 1200px) {
  .vp27-page .navbar.scrolled .nav-container {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Footer oscuro compartido igual a la home */
.vp27-page .footer {
  background: #17151c;
  color: #d6d3d1;
  margin-top: 0;
}

.vp27-page .footer-bottom p {
  color: #a8a29e;
}

.vp27-page .public-seo-hub__title {
  color: #fafaf9;
}

/* Contenedor consistente */
.vp27-wrap {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

.vp27-prose {
  max-width: 64rem;
  margin-inline: auto;
}

/* ---------- Botones oficiales 2027 (píldora dorada / ink) ---------- */
.vp27-btn,
.vp27-page .tools-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: .72rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 .96rem/1.15 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, border-color .16s ease, color .16s ease;
}

.vp27-btn:hover,
.vp27-page .tools-btn:hover {
  transform: translateY(-1px);
}

.vp27-btn--primary,
.vp27-page .tools-btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #17151c !important;
  box-shadow: 0 10px 24px -10px rgba(212, 160, 23, .75);
}

.vp27-btn--primary:hover,
.vp27-page .tools-btn--primary:hover {
  background: var(--brand-2);
  box-shadow: 0 14px 28px -10px rgba(212, 160, 23, .85);
}

.vp27-btn--ghost,
.vp27-page .tools-btn--ghost {
  background: #ffffff;
  border-color: var(--line-2);
  color: var(--ink) !important;
}

.vp27-btn--ghost:hover,
.vp27-page .tools-btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff !important;
}

.vp27-btn--secondary,
.vp27-page .tools-btn--secondary {
  background: #ffffff;
  border-color: var(--line-2);
  color: var(--ink) !important;
}

.vp27-btn--secondary:hover,
.vp27-page .tools-btn--secondary:hover {
  border-color: var(--brand-ink);
  color: var(--brand-ink) !important;
}

.vp27-cta-row,
.vp27-page .tools-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- Hero claro 2027 (crema + puntos + marcador dorado) ---------- */
.vp27-hero {
  position: relative;
  padding: 112px 0 56px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.vp27-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .65;
  background-image: radial-gradient(rgba(23, 21, 28, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 75% 65% at 25% 15%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 25% 15%, #000 10%, transparent 72%);
}

.vp27-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 212, 134, .48), rgba(244, 212, 134, 0) 64%);
  pointer-events: none;
}

.vp27-hero--tool {
  padding: 102px 0 42px;
}

.vp27-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .84rem;
  color: var(--muted);
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.vp27-crumbs li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: .6;
}

.vp27-crumbs a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
}

.vp27-crumbs a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

.vp27-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.vp27-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, .22);
  flex: none;
}

.vp27-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 44px;
  align-items: center;
}

.vp27-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  line-height: 1.06;
  color: var(--ink);
}

.vp27-hero--tool h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  margin-bottom: 12px;
  max-width: 24ch;
}

.vp27-hero h1 span,
.vp27-hl {
  position: relative;
  display: inline;
  color: var(--ink);
  background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .06em;
}

.vp27-lead {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.6;
  max-width: 58ch;
}

.vp27-hero--tool .vp27-lead {
  margin-bottom: 24px;
  max-width: 66ch;
}

.vp27-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.vp27-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-size: .88rem;
  font-weight: 600;
}

.vp27-trust li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: .74rem;
  font-weight: 800;
}

.vp27-hero__media {
  margin: 0;
}

.vp27-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.vp27-hero__media figcaption {
  margin-top: 10px;
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Secciones ---------- */
.vp27-section {
  padding: 56px 0;
  background: var(--bg);
}

.vp27-section--white {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vp27-section--alt {
  background: var(--bg-2);
}

.vp27-prose h2 {
  margin: 2.5rem 0 .85rem;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  line-height: 1.15;
  color: var(--ink);
}

.vp27-prose > h2:first-child {
  margin-top: 0;
}

.vp27-prose p {
  margin: 0 0 1.05rem;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.68;
}

.vp27-prose a:not(.vp27-btn):not(.tools-btn):not(.vp-xlsx-dl):not(.vp-xlsx-bridge) {
  color: var(--brand-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vp27-prose a:not(.vp27-btn):not(.tools-btn):not(.vp-xlsx-dl):not(.vp-xlsx-bridge):hover {
  color: var(--ink);
}

.vp27-prose code {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .12rem .4rem;
  font-size: .88em;
  color: var(--ink);
}

/* Figuras editoriales dentro del cuerpo */
.vp27-page .journey-figure {
  margin: 2rem 0 2.25rem;
}

.vp27-page .journey-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.vp27-page .journey-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

/* ---------- KPIs en 4 tarjetas blancas limpias ---------- */
.vp-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 2.25rem;
}

.vp-kpi {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.vp-kpi strong {
  display: block;
  color: var(--ink);
  font: 800 clamp(1.3rem, 2.2vw, 1.68rem)/1.12 var(--display);
  letter-spacing: -.02em;
}

.vp-kpi span {
  display: block;
  margin-top: .4rem;
  color: var(--ink-2);
  font-size: .86rem;
  line-height: 1.45;
}

/* ---------- Bloque editorial destacado (En 30 segundos / Clave práctica) ---------- */
.vp-geo-box,
.vp27-summary {
  background: #fffaf0;
  border: 1px solid #f1dfb4;
  border-left: 4px solid var(--brand);
  border-radius: 18px;
  padding: 1.35rem 1.55rem;
  margin: 1.5rem 0 2.25rem;
}

.vp-geo-box__label,
.vp27-summary__label {
  display: inline-block;
  margin: 0 0 .55rem;
  color: var(--brand-ink);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.vp-geo-box p,
.vp27-summary p {
  margin: 0;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.65;
}

.vp-geo-box ul {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-2);
}

.vp-geo-box li {
  margin: .42rem 0;
  line-height: 1.58;
}

.vp-geo-box li strong {
  color: var(--ink);
}

/* ---------- Grilla de nichos (tarjetas blancas) ---------- */
.vp-niches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 1.25rem 0 2.25rem;
}

.vp-niche {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}

.vp-niche:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.vp-niche__tag {
  align-self: flex-start;
  padding: .24rem .62rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: .73rem;
  font-weight: 700;
}

.vp-niche h3 {
  margin: .15rem 0 0;
  color: var(--ink);
  font: 700 1.08rem/1.25 var(--display);
}

.vp-niche p {
  margin: 0;
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.55;
}

/* ---------- Tabla comparativa (idéntica al estilo dorado de /comparar/) ---------- */
.vp-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.vp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 560px;
}

.vp-table th,
.vp-table td {
  padding: .95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  background: #ffffff;
  font-size: .93rem;
  line-height: 1.5;
  vertical-align: top;
}

.vp-table thead th {
  background: #17151c;
  color: #fafaf9;
  font: 700 .86rem/1.3 var(--display);
  letter-spacing: .01em;
}

.vp-table thead th.is-dp {
  background: var(--brand);
  color: #17151c;
  font-weight: 800;
}

.vp-table tbody td.is-dp {
  background: #fffaf0;
  color: var(--ink);
  font-weight: 600;
}

.vp-table tbody tr:last-child td {
  border-bottom: 0;
}

.vp-footnote {
  margin: -.8rem 0 2rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

/* ---------- Pasos numerados (círculo dorado) ---------- */
.vp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 1.25rem 0 2.25rem;
}

.vp-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.35rem;
  box-shadow: var(--shadow);
}

.vp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font: 800 .9rem var(--display);
  margin-bottom: .7rem;
}

.vp-step h3 {
  margin: 0 0 .4rem;
  color: var(--ink);
  font: 700 1.06rem/1.25 var(--display);
}

.vp-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.55;
}

/* ---------- Nota transparente ---------- */
.vp-transparency {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.45rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}

.vp-transparency h3 {
  margin: 0 0 .4rem;
  color: var(--ink);
  font: 700 1.06rem var(--display);
}

.vp-transparency p {
  margin: 0;
  color: var(--ink-2);
  font-size: .94rem;
  line-height: 1.6;
}

/* ==========================================================================
 * STUDIO INTERACTIVO 2027 (Calculadoras, Generadores, Benchmark y Checklists)
 * Tarjeta blanca limpia arriba + Panel de resultado oscuro de alto contraste
 * (Inspirado en calculadora-cuotas-sin-interes-mercado-pago + dp-tools.css)
 * ========================================================================== */
.vp-interactive {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 2.2rem);
  margin: 0 0 2.25rem;
  box-shadow: var(--shadow-lg);
}

.vp-interactive__head {
  margin-bottom: 1.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.vp-interactive__kicker {
  display: inline-block;
  margin: 0 0 .35rem;
  color: var(--brand-ink);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.vp-interactive h2 {
  margin: 0 0 .35rem;
  color: var(--ink);
  font: 700 clamp(1.3rem, 2.5vw, 1.75rem)/1.18 var(--display);
}

.vp-interactive__sub {
  margin: 0;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.55;
}

.vp-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 1.65rem;
  align-items: start;
}

.vp-calc-form {
  display: grid;
  gap: 1rem;
}

.vp-field {
  display: flex;
  flex-direction: column;
  gap: .38rem;
}

.vp-field label {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}

.vp-field label output {
  color: var(--brand-ink);
  font-weight: 800;
  background: var(--brand-soft);
  padding: .08rem .5rem;
  border-radius: 999px;
  font-size: .82rem;
}

.vp-field input[type="number"],
.vp-field input[type="text"],
.vp-field input[type="tel"],
.vp-field select {
  width: 100%;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  padding: .78rem .95rem;
  font: 600 .96rem var(--body);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.vp-field input[type="number"]:focus,
.vp-field input[type="text"]:focus,
.vp-field input[type="tel"]:focus,
.vp-field select:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, .18);
}

.vp-field input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
  cursor: pointer;
}

.vp-field small {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.4;
}

/* Panel de resultado oscuro con números grandes y contraste impecable */
.vp-calc-result {
  background: #17151c;
  color: #fafaf9;
  border: 1px solid rgba(212, 160, 23, .28);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(23, 21, 28, .18);
}

.vp-calc-result p.vp-calc-result__eyebrow {
  margin: 0;
  color: var(--hl);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.vp-calc-result p.vp-calc-result__big {
  margin: .35rem 0 .35rem;
  color: var(--ok-bright);
  font: 800 clamp(2rem, 4vw, 2.75rem)/1.05 var(--display);
  letter-spacing: -.03em;
}

.vp-calc-result p.vp-calc-result__monthly {
  margin: 0 0 1.1rem;
  color: #e7e5e4;
  font-size: .92rem;
  line-height: 1.5;
}

.vp-bars {
  display: grid;
  gap: .8rem;
  margin: 1rem 0 1.2rem;
}

.vp-bar-row__top {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  font-size: .86rem;
  margin-bottom: .32rem;
  color: #e7e5e4;
}

.vp-bar-row__top strong {
  color: #ffffff;
  white-space: nowrap;
}

/* Cuando vp-bars está sobre fondo claro (benchmark o checklist) */
.vp-finder-out .vp-bar-row__top,
.vp-mig-progress .vp-bar-row__top {
  color: var(--ink-2);
}

.vp-finder-out .vp-bar-row__top strong,
.vp-mig-progress .vp-bar-row__top strong {
  color: var(--ink);
}

.vp-bar-track {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}

.vp-finder-out .vp-bar-track,
.vp-mig-progress .vp-bar-track {
  background: var(--bg-2);
}

.vp-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .25s ease;
}

.vp-bar-fill--rival {
  background: linear-gradient(90deg, #f97316, #ef4444);
}

.vp-bar-fill--dp {
  background: linear-gradient(90deg, #059669, #34d399);
}

.vp-calc-breakdown {
  margin: 0 0 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: .85rem;
  display: grid;
  gap: .45rem;
}

.vp-calc-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .85rem;
  color: #d6d3d1;
}

.vp-calc-breakdown strong {
  color: #ffffff;
  white-space: nowrap;
}

.vp-calc-result .tools-cta-row {
  margin-top: .9rem;
}

.vp-calc-result .tools-btn--primary {
  width: 100%;
  text-align: center;
}

.vp-calc-result .tools-btn--secondary {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
  color: #ffffff !important;
}

.vp-calc-result .tools-btn--secondary:hover {
  border-color: var(--hl);
  color: var(--hl) !important;
}

.vp-may-alert {
  margin: .75rem 0 0;
  padding: .78rem .95rem;
  border-radius: 12px;
  font-size: .85rem;
  line-height: 1.5;
  background: rgba(16, 185, 129, .16);
  border: 1px solid rgba(52, 211, 153, .38);
  color: #ecfdf5;
}

.vp-may-alert.is-warn {
  background: rgba(245, 158, 11, .16);
  border-color: rgba(251, 191, 36, .45);
  color: #fef3c7;
}

.vp-finder-out .vp-may-alert {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

/* ---------- Tabs / Chips (selector de web, escenarios 2026, temas) ---------- */
.vp-tabs,
.vp-theme-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.15rem;
}

.vp-tab,
.vp-theme-chip {
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  padding: .52rem 1rem;
  font: 700 .84rem var(--body);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.vp-tab:hover,
.vp-theme-chip:hover {
  border-color: var(--brand);
}

.vp-tab[aria-pressed="true"],
.vp-theme-chip[aria-pressed="true"] {
  background: #17151c;
  border-color: #17151c;
  color: #f4d486;
}

.vp-finder-out {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem;
}

.vp-finder-out h3 {
  margin: 0 0 .45rem;
  color: var(--ink);
  font: 700 1.2rem/1.25 var(--display);
}

.vp-finder-out p {
  margin: 0 0 .9rem;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.55;
}

.vp-finder-list {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  color: var(--ink);
  display: grid;
  gap: .35rem;
  font-size: .93rem;
}

/* ---------- Prompts copiables (IA / Cita prensa) ---------- */
.vp-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.vp-prompt {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.vp-prompt h3 {
  margin: 0;
  color: var(--ink);
  font: 700 1rem/1.25 var(--display);
}

.vp-prompt pre {
  margin: 0;
  white-space: pre-wrap;
  font: 500 .86rem/1.55 var(--body);
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem .95rem;
  flex: 1;
}

.vp-copy-btn {
  align-self: flex-start;
  border: 1.5px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  border-radius: 999px;
  padding: .48rem 1rem;
  font: 700 .82rem var(--body);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.vp-copy-btn:hover {
  background: #17151c;
  color: var(--hl);
}

/* ---------- Vista previa móvil (Link en Bio), Turnero y Cartel Alias ---------- */
.vp-phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem;
}

.vp-phone {
  width: min(320px, 100%);
  border-radius: 30px;
  border: 6px solid #17151c;
  padding: 1.45rem 1.1rem 1.3rem;
  box-shadow: 0 22px 44px rgba(23, 21, 28, .22);
  text-align: center;
  transition: background .25s ease, color .25s ease;
}

.vp-phone--obsidian { background: linear-gradient(165deg, #17151c, #0c0a09); color: #fafaf9; }
.vp-phone--cream { background: linear-gradient(165deg, #fdfbf7, #f3ece2); color: #17151c; }
.vp-phone--emerald { background: linear-gradient(165deg, #064e3b, #022c22); color: #ecfdf5; }
.vp-phone--terracotta { background: linear-gradient(165deg, #7c2d12, #431407); color: #fff7ed; }

.vp-phone__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #17151c;
  font: 800 1.35rem var(--display);
}

.vp-phone__name {
  margin: 0;
  font: 800 1.1rem/1.2 var(--display);
  color: inherit;
}

.vp-phone__bio {
  margin: .35rem 0 .95rem;
  font-size: .83rem;
  line-height: 1.45;
  opacity: .88;
  color: inherit;
}

.vp-phone__links {
  display: grid;
  gap: .52rem;
  margin-bottom: .9rem;
}

.vp-phone__btn {
  display: block;
  padding: .7rem .88rem;
  border-radius: 12px;
  font: 700 .85rem var(--body);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  color: inherit;
}

.vp-phone--cream .vp-phone__btn {
  background: #ffffff;
  border-color: var(--line-2);
  color: var(--ink);
}

.vp-phone__btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  color: #17151c !important;
  border-color: transparent !important;
}

.vp-phone__foot {
  font-size: .72rem;
  opacity: .75;
}

/* Tarjeta Turnero */
.vp-book-card {
  width: 100%;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.vp-book-card h3 {
  margin: 0 0 .25rem;
  color: var(--ink);
  font: 800 1.18rem var(--display);
}

.vp-book-card__meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .84rem;
}

.vp-book-list {
  display: grid;
  gap: .55rem;
  margin-bottom: 1rem;
}

.vp-book-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.vp-book-row strong {
  display: block;
  color: var(--ink);
  font-size: .92rem;
}

.vp-book-row small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.vp-book-price {
  text-align: right;
  white-space: nowrap;
}

.vp-book-price b {
  display: block;
  color: var(--brand-ink);
  font: 800 .98rem var(--display);
}

.vp-book-price span {
  display: block;
  color: var(--ok);
  font-size: .73rem;
  font-weight: 700;
}

.vp-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  width: 100%;
}

.vp-action-stack .tools-btn {
  flex: 1 1 180px;
  text-align: center;
}

.vp-service-inputs {
  display: grid;
  gap: .55rem;
}

.vp-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 74px 104px;
  gap: .45rem;
}

/* Vista previa Cartel Alias + QR */
.vp-sign-preview {
  width: min(350px, 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  background: #fdfbf7;
}

.vp-sign-preview canvas {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Grilla de 7 Planillas Excel (.xlsx) ---------- */
.vp-xlsx-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0 0 2.25rem;
}

.vp-xlsx-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}

.vp-xlsx-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.vp-xlsx-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.vp-xlsx-badge {
  display: inline-block;
  padding: .24rem .64rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: .74rem;
  font-weight: 800;
}

.vp-xlsx-meta {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 600;
}

.vp-xlsx-card h3 {
  margin: .1rem 0 0;
  color: var(--ink);
  font: 700 1.12rem/1.25 var(--display);
}

.vp-xlsx-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: .92rem;
  line-height: 1.55;
}

.vp-xlsx-formulas {
  margin: .15rem 0 .45rem;
  padding-left: 1.15rem;
  color: var(--ink-2);
  font-size: .86rem;
  line-height: 1.5;
  flex: 1;
}

.vp-xlsx-formulas li {
  margin: .22rem 0;
}

.vp-xlsx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .35rem;
}

.vp-xlsx-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.05rem;
  border-radius: 999px;
  background: #17151c;
  color: #ffffff !important;
  font: 700 .86rem var(--body);
  text-decoration: none !important;
  flex: 1 1 175px;
  transition: background .18s ease, color .18s ease;
}

.vp-xlsx-dl:hover {
  background: var(--brand);
  color: #17151c !important;
}

.vp-xlsx-bridge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7rem .95rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: var(--bg);
  color: var(--ink) !important;
  font: 700 .82rem var(--body);
  text-decoration: none !important;
}

.vp-xlsx-bridge:hover {
  border-color: var(--ink);
}

/* ---------- Checklist interactivo de Migración (claro y elegante) ---------- */
.vp-mig-progress {
  margin: 0 0 1.15rem;
}

.vp-mig-list {
  display: grid;
  gap: .65rem;
  margin: 0 0 1.35rem;
}

.vp-mig-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .9rem 1.05rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.vp-mig-item:hover {
  border-color: var(--brand);
}

.vp-mig-item.is-done {
  border-color: #6ee7b7;
  background: #ecfdf5;
}

.vp-mig-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ok);
  flex-shrink: 0;
  cursor: pointer;
}

.vp-mig-item strong {
  display: block;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.35;
}

.vp-mig-item small {
  display: block;
  margin-top: .2rem;
  color: var(--ink-2);
  font-size: .85rem;
  line-height: 1.45;
}

/* ---------- FAQ estilo DP 2027 (tarjetas blancas) ---------- */
.vp27-section-kicker {
  display: block;
  font: 700 .76rem var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 8px;
}

.vp27-faq {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.vp27-faq details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1.3rem;
  box-shadow: 0 2px 10px rgba(23, 21, 28, .04);
}

.vp27-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: 700 1.02rem/1.35 var(--display);
  color: var(--ink);
}

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

.vp27-faq summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--ink);
  font: 700 1.15rem/1 var(--body);
  flex: none;
}

.vp27-faq details[open] summary::after {
  content: "−";
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.vp27-faq details p {
  margin: .75rem 0 0;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.62;
}

/* ---------- CTA Final oscuro 2027 (idéntico a dpt-cta de dp-tools.css) ---------- */
.vp27-cta-box {
  background: #17151c;
  color: #fafaf9;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.85rem);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 24px 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.vp27-cta-box::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -90px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, .28), rgba(212, 160, 23, 0) 68%);
  pointer-events: none;
}

.vp27-cta-box .vp27-section-kicker {
  color: var(--hl);
}

.vp27-cta-box h2 {
  margin: 0 0 .5rem;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.12;
}

.vp27-cta-box p {
  margin: 0;
  color: #d6d3d1;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 56ch;
}

.vp27-cta-box .vp27-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .32);
  color: #ffffff !important;
}

.vp27-cta-box .vp27-btn--ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

/* ---------- Grilla de guías relacionadas (dpt-guides style) ---------- */
.vp27-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.vp27-related a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  font: 700 .96rem/1.35 var(--display);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vp27-related a:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
}

.vp27-related a span {
  font: 700 .72rem var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .vp27-hero__grid,
  .vp-calc-grid,
  .vp27-cta-box {
    grid-template-columns: 1fr;
  }
  .vp-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vp-niches,
  .vp-steps,
  .vp-prompts,
  .vp-xlsx-grid {
    grid-template-columns: 1fr;
  }
  .vp27-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .vp27-wrap {
    width: min(1140px, 100% - 28px);
  }
  .vp27-hero {
    padding: 92px 0 36px;
  }
  .vp27-hero--tool {
    padding: 86px 0 28px;
  }
  .vp27-section {
    padding: 40px 0;
  }
  .vp-kpis,
  .vp27-related {
    grid-template-columns: 1fr;
  }
  .vp-service-row {
    grid-template-columns: 1fr 68px 88px;
  }
}
