/* ==========================================================================
   PBLGROWTH — styles.css
   Dark Premium · Acento gris metálico · Manrope
   ========================================================================== */

/* ---------- Tipografía (autoalojada) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/manrope-latin-wght-normal.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;
}

/* ---------- Tokens ---------- */
:root {
  --pbl-bg: #090909;
  --pbl-bg-2: #121212;
  --pbl-bg-3: #0D0D0D;
  --pbl-line: #292929;
  --pbl-line-soft: #1A1A1A;
  --pbl-text: #FFFFFF;
  --pbl-muted: #A1A1AA;
  --pbl-metal-hi: #F4F4F5;
  --pbl-metal: #D4D4D8;
  --pbl-metal-lo: #A1A1AA;
  --pbl-metal-gradient: linear-gradient(180deg, #F4F4F5 0%, #D4D4D8 45%, #A1A1AA 100%);
  --pbl-metal-border: linear-gradient(135deg, #F4F4F5 0%, #71717A 40%, #D4D4D8 70%, #52525B 100%);
  --pbl-metal-line: linear-gradient(90deg, #F4F4F5 0%, #A1A1AA 60%, #52525B 100%);
  --pbl-accent: var(--pbl-metal);
  --pbl-violet: #7C3AED;
  --pbl-violet-hi: #DDD6FE;
  --pbl-violet-gradient: linear-gradient(180deg, #E9DDFF 0%, #A78BFA 12%, #7C3AED 46%, #5B21B6 78%, #3B0764 100%);
  --pbl-violet-border: rgba(196, 181, 253, .55);
  --pbl-violet-glow: rgba(124, 58, 237, .45);
  --pbl-error: #FF8A8A;
  --pbl-header-bg: rgba(9, 9, 9, .85);
  --pbl-sticky-bg: rgba(9, 9, 9, .92);
  --pbl-flow-bg: rgba(18, 18, 18, .9);
  --pbl-grid-line: #1C1C1C;
  --pbl-line-hover: #3A3A3A;
  --pbl-card-hover: rgba(161, 161, 170, .4);
  --pbl-pipeline: #1A1A1A;
  --pbl-placeholder: #71717A;
  --pbl-marquee: rgba(161, 161, 170, .6);
  --pbl-glow: rgba(244, 244, 245, .35);
  --pbl-btn-inset: rgba(255, 255, 255, .6);
  --pbl-error-soft: rgba(255, 138, 138, .5);
  color-scheme: dark;
  --pbl-radius: 12px;
  --pbl-radius-sm: 10px;
  --pbl-max: 1200px;
  --pbl-header-h: 76px;
  --pbl-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pbl-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pbl-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pbl-bg);
  color: var(--pbl-text);
  font-family: var(--pbl-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pbl-accent); outline-offset: 3px; border-radius: 4px; }

.pbl-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pbl-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pbl-metal-gradient); color: var(--pbl-bg); font-weight: 700;
  padding: 12px 18px; border-radius: var(--pbl-radius-sm); transition: top .2s;
}
.pbl-skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.pbl-wrap { max-width: var(--pbl-max); margin: 0 auto; padding: 0 40px; }
.pbl-section { padding: 144px 0; border-top: 1px solid var(--pbl-line-soft); }
.pbl-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 24px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--pbl-muted);
}
.pbl-eyebrow--center { justify-content: center; text-align: center; }
.pbl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pbl-metal-gradient); box-shadow: 0 0 8px var(--pbl-glow); flex: none; }
/* Utilidades metálicas */
.pbl-metal-text, .pbl-step:first-child .pbl-step__meta {
  background: var(--pbl-metal-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pbl-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pbl-h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
.pbl-h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.015em; font-weight: 700; max-width: 820px; }
.pbl-lead { margin-top: 24px; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--pbl-muted); }
.pbl-muted { color: var(--pbl-muted); }

/* ---------- Botones ---------- */
.pbl-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid var(--pbl-violet-border); border-radius: var(--pbl-radius-sm);
  background: var(--pbl-violet-gradient); color: #FFFFFF; font-size: 16px; font-weight: 700;
  text-shadow: 0 1px 1px rgba(30, 6, 60, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(20, 4, 40, .35), 0 10px 28px -10px var(--pbl-violet-glow);
  cursor: pointer; transition: filter .25s, box-shadow .25s, transform .2s, opacity .2s;
}
.pbl-btn::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
}
.pbl-btn:hover { filter: brightness(1.12) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(20, 4, 40, .35), 0 0 0 1px rgba(167, 139, 250, .25), 0 14px 36px -10px rgba(124, 58, 237, .7); }
.pbl-btn:hover::after { transform: translateX(120%); transition: transform .6s var(--pbl-ease); }
.pbl-btn:active { transform: translateY(1px); }
.pbl-btn[disabled] { opacity: .4; cursor: not-allowed; }
.pbl-btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.pbl-btn--block { width: 100%; }
.pbl-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border: 1px solid var(--pbl-line); border-radius: var(--pbl-radius-sm);
  background: transparent; color: var(--pbl-text); font-size: 16px; font-weight: 500;
  cursor: pointer; transition: border-color .2s;
}
.pbl-btn-ghost:hover { border-color: var(--pbl-muted); }

/* ---------- Tarjetas ---------- */
.pbl-card { background: var(--pbl-bg-2); border: 1px solid var(--pbl-line); border-radius: var(--pbl-radius); transition: border-color .3s; }
.pbl-card--hover:hover { border-color: var(--pbl-card-hover); }

/* ---------- Header ---------- */
.pbl-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--pbl-header-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pbl-line-soft); transition: height .3s;
}
.pbl-header__inner { height: var(--pbl-header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .3s; }
.pbl-header.is-compact .pbl-header__inner { height: 64px; }
.pbl-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.pbl-logo__mark {
  width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--pbl-text);
  display: inline-flex; align-items: flex-end; justify-content: flex-end; padding: 3px;
}
.pbl-logo__mark::after { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--pbl-metal-gradient); }
.pbl-nav { display: flex; gap: 36px; font-size: 15px; }
.pbl-nav a { position: relative; color: var(--pbl-muted); transition: color .2s; padding: 6px 0; }
.pbl-nav a:hover, .pbl-nav a.is-active { color: var(--pbl-text); }
.pbl-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--pbl-metal-line); border-radius: 2px; }
.pbl-header__actions { display: flex; align-items: center; gap: 10px; }
.pbl-menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex: none;
  border: 1px solid var(--pbl-line); border-radius: var(--pbl-radius-sm); background: transparent; color: var(--pbl-text); cursor: pointer;
  transition: border-color .2s;
}
.pbl-menu-btn--close { display: inline-flex; }
.pbl-menu-btn:hover { border-color: var(--pbl-line-hover); }
.pbl-small { font-size: 14px; }

/* Menú móvil */
.pbl-mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--pbl-bg);
  display: flex; flex-direction: column; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.pbl-mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.pbl-mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.pbl-mobile-menu nav { display: flex; flex-direction: column; gap: 8px; margin-top: 48px; }
.pbl-mobile-menu nav a { font-size: 32px; font-weight: 700; letter-spacing: -.01em; padding: 8px 0; }
.pbl-mobile-menu .pbl-btn { margin-top: auto; }

/* ---------- Hero ---------- */
.pbl-hero { position: relative; overflow: hidden; padding: 128px 0 136px; }
.pbl-hero__glow {
  position: absolute; z-index: 0; pointer-events: none; top: 8%; right: -8%; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(167, 139, 250, .30), rgba(124, 58, 237, .14) 38%, transparent 68%);
  filter: blur(20px); animation: pbl-float 14s ease-in-out infinite alternate;
}
@keyframes pbl-float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.08); } }
.pbl-hero__grid > div > * { animation: pbl-rise .8s var(--pbl-ease) both; }
.pbl-hero__grid > div > :nth-child(2) { animation-delay: .08s; }
.pbl-hero__grid > div > :nth-child(3) { animation-delay: .16s; }
.pbl-hero__grid > div > :nth-child(4) { animation-delay: .24s; }
.pbl-hero .pbl-flow { animation: pbl-rise 1s var(--pbl-ease) .3s both; }
@keyframes pbl-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pbl-flow__status .pbl-dot { position: relative; }
.pbl-flow__status .pbl-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(167, 139, 250, .7);
  animation: pbl-ping 2s ease-out infinite;
}
@keyframes pbl-ping { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(2.2); } }
.pbl-flow__list .pbl-node { animation: pbl-node 7.5s ease-in-out infinite; }
.pbl-flow__list .pbl-node .pbl-node__icon { animation: pbl-node-icon 7.5s ease-in-out infinite; }
.pbl-flow__list .pbl-node:nth-child(3), .pbl-flow__list .pbl-node:nth-child(3) .pbl-node__icon { animation-delay: 1.5s; }
.pbl-flow__list .pbl-node:nth-child(4), .pbl-flow__list .pbl-node:nth-child(4) .pbl-node__icon { animation-delay: 3s; }
.pbl-flow__list .pbl-node:nth-child(5), .pbl-flow__list .pbl-node:nth-child(5) .pbl-node__icon { animation-delay: 4.5s; }
.pbl-flow__list .pbl-node:nth-child(6), .pbl-flow__list .pbl-node:nth-child(6) .pbl-node__icon { animation-delay: 6s; }
@keyframes pbl-node {
  0%, 22%, 100% { border-color: var(--pbl-line); box-shadow: none; }
  5%, 15% { border-color: rgba(167, 139, 250, .65); box-shadow: 0 0 0 1px rgba(124, 58, 237, .25), 0 10px 30px -12px rgba(124, 58, 237, .6); }
}
@keyframes pbl-node-icon {
  0%, 22%, 100% { color: var(--pbl-muted); border-color: var(--pbl-line); background: var(--pbl-bg-3); }
  5%, 15% { color: #FFFFFF; border-color: var(--pbl-violet-border); background: var(--pbl-violet-gradient); }
}
.pbl-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--pbl-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--pbl-grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.pbl-grid-bg--left { -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 65%); }
.pbl-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pbl-hero__lead { font-size: 19px; }
.pbl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.pbl-flow { padding: 28px; background: var(--pbl-flow-bg); }
.pbl-flow__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.pbl-flow__title { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--pbl-muted); }
.pbl-flow__status { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pbl-flow__list { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pbl-flow__rail { position: absolute; left: 33px; top: 40px; bottom: 40px; width: 1px; background: var(--pbl-line); overflow: hidden; }
.pbl-flow__pulse {
  position: absolute; left: -2px; top: -56px; width: 5px; height: 56px; border-radius: 3px;
  background: linear-gradient(rgba(167, 139, 250, 0), #C4B5FD, rgba(124, 58, 237, 0));
  box-shadow: 0 0 12px rgba(124, 58, 237, .8);
  animation: pbl-pulse 3.2s linear infinite;
}
@keyframes pbl-pulse { from { top: -56px; } to { top: 100%; } }
.pbl-node { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--pbl-line); border-radius: var(--pbl-radius-sm); background: var(--pbl-bg-3); }
.pbl-node__icon { width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--pbl-line); border-radius: 8px; color: var(--pbl-muted); background: var(--pbl-bg-3); }
.pbl-node__title { font-size: 15px; font-weight: 500; line-height: 1.4; }
.pbl-node__sub { font-size: 13px; color: var(--pbl-muted); line-height: 1.4; }
.pbl-chip { margin-left: auto; padding: 4px 10px; border: 1px solid var(--pbl-line); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--pbl-muted); white-space: nowrap; }
.pbl-chip--on { background: var(--pbl-metal-gradient); border-color: var(--pbl-metal-lo); color: var(--pbl-bg); font-weight: 700; box-shadow: inset 0 1px 0 var(--pbl-btn-inset); }

/* ---------- Carrusel de herramientas ---------- */
.pbl-tools { padding: 56px 0 72px; border-top: 1px solid var(--pbl-line-soft); }
.pbl-marquee {
  overflow: hidden; margin-top: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.pbl-marquee + .pbl-marquee { margin-top: 32px; }
.pbl-marquee__track { display: flex; gap: 56px; width: max-content; animation: pbl-scroll 55s linear infinite; }
.pbl-marquee--reverse .pbl-marquee__track { animation-direction: reverse; animation-duration: 60s; }
.pbl-marquee:hover .pbl-marquee__track { animation-play-state: paused; }
.pbl-marquee__item { font-size: 22px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; color: var(--pbl-marquee); transition: color .3s; }
.pbl-marquee__item:hover { color: var(--pbl-text); }
@keyframes pbl-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Problema ---------- */
.pbl-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.pbl-problem { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pbl-problem__num { font-size: 13px; letter-spacing: .08em; color: var(--pbl-muted); }
.pbl-problem h3 { margin-top: 24px; font-size: 22px; font-weight: 500; line-height: 1.3; }
.pbl-problem p { font-size: 16px; color: var(--pbl-muted); }

/* ---------- Soluciones ---------- */
.pbl-solutions { margin-top: 56px; border-top: 1px solid var(--pbl-line); }
.pbl-solution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 40px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--pbl-line); }
.pbl-solution h3 { font-size: 24px; font-weight: 500; line-height: 1.3; }
.pbl-solution p { font-size: 17px; color: var(--pbl-muted); }

/* ---------- Método ---------- */
.pbl-steps { list-style: none; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.pbl-step { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 2px solid var(--pbl-line); }
.pbl-step:first-child { border-image: var(--pbl-metal-line) 1; }
.pbl-step__meta { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--pbl-muted); }
.pbl-step:first-child .pbl-step__meta { font-weight: 600; }
.pbl-step h3 { font-size: 24px; font-weight: 500; }
.pbl-step p { font-size: 16px; color: var(--pbl-muted); }

.pbl-measure { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--pbl-line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.pbl-measure__label { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--pbl-muted); }
.pbl-measure__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pbl-measure__list li { padding: 8px 14px; border: 1px solid var(--pbl-line); border-radius: 999px; font-size: 14px; }

/* ---------- Para quién ---------- */
.pbl-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.pbl-fit { padding: 40px; }
.pbl-fit--yes { border-color: transparent; background: linear-gradient(var(--pbl-bg-2), var(--pbl-bg-2)) padding-box, var(--pbl-metal-border) border-box; }
.pbl-fit--no { background: transparent; color: var(--pbl-muted); }
.pbl-fit h3 { margin-bottom: 28px; font-size: 22px; font-weight: 500; }
.pbl-fit ul { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.5; }
.pbl-fit li { display: flex; gap: 14px; }
.pbl-fit svg { flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.pbl-faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; }
.pbl-faq-list { border-top: 1px solid var(--pbl-line); }
.pbl-faq-item { border-bottom: 1px solid var(--pbl-line); }
.pbl-faq-item h3 { font-size: inherit; font-weight: inherit; }
.pbl-faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; border: 0; background: transparent; text-align: left; cursor: pointer;
  font-size: 20px; font-weight: 500; line-height: 1.4;
}
.pbl-faq-icon { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--pbl-line); border-radius: 50%; color: var(--pbl-muted); transition: transform .3s, border-color .3s, color .3s; }
.pbl-faq-btn[aria-expanded="true"] .pbl-faq-icon { transform: rotate(45deg); border-color: var(--pbl-metal); color: var(--pbl-metal-hi); }
.pbl-faq-panel { padding: 0 56px 28px 0; font-size: 16px; line-height: 1.65; color: var(--pbl-muted); }
.pbl-faq-panel[hidden] { display: none; }

/* ---------- Diagnóstico ---------- */
.pbl-contact { position: relative; overflow: hidden; padding: 144px 0; border-top: 1px solid var(--pbl-line-soft); }
.pbl-contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pbl-contact .pbl-h2 { font-size: clamp(32px, 3.8vw, 52px); }
.pbl-checks { display: flex; flex-direction: column; gap: 14px; }
.pbl-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.pbl-checks svg { flex: none; margin-top: 3px; }
.pbl-cta-row { margin-top: 48px; }
.pbl-contact .pbl-checks { margin-top: 40px; }

/* ---------- Formulario ---------- */
.pbl-form { padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.pbl-form__steps { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 0 20px; list-style: none; border-bottom: 1px solid var(--pbl-line); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--pbl-muted); }
.pbl-form__steps li { display: flex; align-items: center; gap: 10px; }
.pbl-form__steps li + li::before { content: ""; width: 28px; height: 1px; margin-right: 2px; background: var(--pbl-line); }
.pbl-form__steps-n { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--pbl-line); border-radius: 50%; font-size: 12px; letter-spacing: 0; }
.pbl-form__steps [aria-current="step"] { color: var(--pbl-text); }
.pbl-form__steps [aria-current="step"] .pbl-form__steps-n { border-color: var(--pbl-metal-lo); background: var(--pbl-metal-gradient); color: var(--pbl-bg); font-weight: 700; box-shadow: inset 0 1px 0 var(--pbl-btn-inset); }
.pbl-form__steps .is-done .pbl-form__steps-n { border-color: var(--pbl-metal); color: var(--pbl-metal-hi); }
.pbl-form__step { display: flex; flex-direction: column; gap: 20px; border: 0; padding: 0; margin: 0; min-width: 0; }
.pbl-form__step[hidden] { display: none; }
.pbl-form__q { font-size: 22px; line-height: 1.3; font-weight: 700; padding: 0; }
/* Un legend flotante deja de ser "legend renderizado" y participa en el flex (respeta el gap) */
legend.pbl-form__q { float: left; width: 100%; }
.pbl-field { display: flex; flex-direction: column; gap: 8px; }
.pbl-field label { font-size: 14px; font-weight: 500; }
.pbl-field label small { font-size: 14px; font-weight: 400; color: var(--pbl-muted); }
.pbl-input {
  width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--pbl-line); border-radius: var(--pbl-radius-sm);
  background: var(--pbl-bg); color: var(--pbl-text); font-size: 16px; transition: border-color .2s;
}
textarea.pbl-input { height: auto; min-height: 112px; padding: 14px 16px; line-height: 1.5; resize: vertical; font-size: 15px; }
.pbl-input::placeholder { color: var(--pbl-placeholder); }
.pbl-input:hover { border-color: var(--pbl-line-hover); }
.pbl-input:focus { outline: none; border-color: var(--pbl-metal); box-shadow: 0 0 0 3px rgba(212, 212, 216, .08); }
.pbl-input[aria-invalid="true"] { border-color: var(--pbl-error); }
select.pbl-input { appearance: none; -webkit-appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.pbl-select { cursor: pointer; padding-right: 44px; background-position: right 16px center; }
.pbl-select:invalid { color: var(--pbl-placeholder); }
.pbl-select option { color: var(--pbl-text); background: var(--pbl-bg-2); }
.pbl-select option[value=""] { color: var(--pbl-placeholder); }
.pbl-phone { display: flex; gap: 8px; }
.pbl-phone select { width: 112px; flex: none; }
.pbl-error { font-size: 13px; color: var(--pbl-error); }
.pbl-error:empty { display: none; }
.pbl-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--pbl-muted); cursor: pointer; }
.pbl-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--pbl-metal); }
.pbl-check a { color: var(--pbl-text); text-decoration: underline; }
.pbl-form__note { font-size: 13px; line-height: 1.5; color: var(--pbl-muted); text-align: center; }
.pbl-form__alert { padding: 14px 16px; border: 1px solid var(--pbl-error); border-radius: var(--pbl-radius-sm); font-size: 14px; line-height: 1.5; color: var(--pbl-text); }
.pbl-form__alert[hidden] { display: none; }
.pbl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pbl-calendar { display: flex; flex-direction: column; gap: 6px; }
.pbl-calendar__frame { width: 100%; min-height: 640px; border: 0; border-radius: var(--pbl-radius-sm); background: var(--pbl-bg); overflow: hidden; }
.pbl-btn.is-loading { pointer-events: none; opacity: .7; }

/* ---------- Footer ---------- */
.pbl-footer { padding: 56px 0; border-top: 1px solid var(--pbl-line-soft); }
.pbl-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
.pbl-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.pbl-footer__brand p { font-size: 14px; color: var(--pbl-muted); }
.pbl-footer__links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.pbl-footer__links a { color: var(--pbl-muted); transition: color .2s; }
.pbl-footer__links a:hover { color: var(--pbl-text); }
.pbl-footer__copy { margin-top: 40px; font-size: 13px; color: var(--pbl-muted); }

/* ---------- CTA fija móvil ---------- */
.pbl-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: var(--pbl-sticky-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--pbl-line-soft);
  transform: translateY(100%); transition: transform .3s var(--pbl-ease);
}
.pbl-sticky-cta.is-visible { transform: translateY(0); }

/* ---------- Animación de aparición ---------- */
.pbl-js .pbl-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--pbl-ease), transform .5s var(--pbl-ease); }
.pbl-js .pbl-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Información básica de protección de datos ---------- */
.pbl-form__legal { font-size: 12px; line-height: 1.55; color: var(--pbl-muted); }
.pbl-form__legal strong { font-weight: 600; color: var(--pbl-text); }
.pbl-form__legal a { color: var(--pbl-text); text-decoration: underline; }

/* ---------- Páginas legales ---------- */
.pbl-legal { padding: 96px 0 128px; }
.pbl-legal__inner { max-width: 760px; }
.pbl-legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; font-size: 14px; color: var(--pbl-muted); transition: color .2s; }
.pbl-legal__back:hover { color: var(--pbl-text); }
.pbl-legal__updated { margin-top: 16px; font-size: 14px; color: var(--pbl-muted); }
.pbl-legal h2 { margin: 56px 0 16px; font-size: 22px; font-weight: 700; line-height: 1.3; }
.pbl-legal h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 600; }
.pbl-legal p, .pbl-legal li { font-size: 16px; line-height: 1.7; color: var(--pbl-muted); }
.pbl-legal p + p { margin-top: 14px; }
.pbl-legal ul { margin-top: 12px; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.pbl-legal strong { color: var(--pbl-text); font-weight: 600; }
.pbl-legal a { color: var(--pbl-text); text-decoration: underline; text-underline-offset: 3px; }
.pbl-legal__table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--pbl-line); border-radius: var(--pbl-radius-sm); }
.pbl-legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.pbl-legal th, .pbl-legal td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pbl-line); color: var(--pbl-muted); line-height: 1.55; }
.pbl-legal th { color: var(--pbl-text); font-weight: 600; background: var(--pbl-bg-2); }
.pbl-legal tr:last-child td { border-bottom: 0; }
.pbl-ph { padding: 0 4px; border-radius: 4px; background: rgba(250, 204, 21, .16); color: var(--pbl-text); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pbl-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
}
@media (max-width: 960px) {
  .pbl-hero__grid, .pbl-contact__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .pbl-nav, .pbl-header__cta { display: none; }
  .pbl-menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  :root { --pbl-header-h: 64px; }
  .pbl-wrap { padding: 0 20px; }
  .pbl-section, .pbl-contact { padding: 80px 0; }
  .pbl-hero { padding: 64px 0 80px; }
  .pbl-lead, .pbl-hero__lead { font-size: 16px; }
  .pbl-grid-4, .pbl-steps, .pbl-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .pbl-solution { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pbl-solution svg { display: none; }
  .pbl-solution h3 { font-size: 21px; }
  .pbl-fit { padding: 28px 24px; }
  .pbl-faq-btn { font-size: 17px; }
  .pbl-faq-panel { padding-right: 0; }
  .pbl-marquee__item { font-size: 18px; }
  .pbl-marquee + .pbl-marquee { display: none; }
  .pbl-hero__actions .pbl-btn, .pbl-hero__actions .pbl-btn-ghost { width: 100%; }
  .pbl-form { padding: 24px 20px; }
  .pbl-form__q { font-size: 20px; }
  .pbl-sticky-cta { display: block; }
  .pbl-footer { padding-bottom: 104px; }
  .pbl-flow { padding: 20px; }
  .pbl-legal { padding: 56px 0 96px; }
  .pbl-legal h2 { margin-top: 44px; font-size: 20px; }
  .pbl-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pbl-marquee__track, .pbl-flow__pulse, .pbl-hero__glow, .pbl-hero__grid > div > *, .pbl-hero .pbl-flow,
  .pbl-flow__list .pbl-node, .pbl-flow__list .pbl-node__icon, .pbl-flow__status .pbl-dot::after { animation: none; }
  .pbl-btn::after { display: none; }
  .pbl-marquee__track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 20px; }
  .pbl-marquee__item[aria-hidden="true"] { display: none; }
  .pbl-js .pbl-reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
