/* CumplimientoTech · Página "Prototipo" (v1.0). Usa la base de ct-forms.css */

.pt-how { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.pt-how li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ct-text); }
.pt-how b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ct-accent); color: var(--ct-accent-ink); font-size: .85rem; flex: none; }

.pt-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.pt-aside { position: sticky; top: 16px; padding: 16px; }
.pt-aside__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.pt-aside__head h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ct-muted); margin: 0; }
.pt-device { display: inline-flex; border: 1px solid var(--ct-border); border-radius: 8px; overflow: hidden; }
.pt-device button { font: 500 .85rem/1 var(--ct-font); padding: 9px 12px; min-height: 36px; border: 0; background: var(--ct-surface); color: var(--ct-text); cursor: pointer; }
.pt-device button[aria-pressed="true"] { background: var(--ct-accent); color: var(--ct-accent-ink); }
.pt-device button:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: -2px; }

.pt-frame { position: relative; overflow: hidden; border: 1px solid var(--ct-border); border-radius: 8px; background: #e9eef2; }
.pt-frame.is-cel { max-width: 375px; margin: 0 auto; border-radius: 20px; border-width: 6px; border-color: #1c252c; }

.pt-palette { margin-top: 10px; }
.pt-palette__label { display: block; font-size: .82rem; color: var(--ct-muted); margin-bottom: 8px; }
.pt-palette__swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ct-surface); box-shadow: 0 0 0 1px var(--ct-border); cursor: pointer; padding: 0; }
.pt-swatch:focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 2px; }

.pt-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pt-color { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ct-border); border-radius: 8px; padding: 8px 10px; font-size: .88rem; cursor: pointer; min-height: 44px; }
.pt-color input[type=color] { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; flex: none; }
.pt-contrast { font-size: .84rem; margin: 8px 0 0; }
.pt-contrast.is-ok { color: var(--ct-ok); }
.pt-contrast.is-warn { color: var(--ct-err); }
.pt-terms { font-size: .82rem; color: var(--ct-muted); margin: 20px 0 0; }
.pt-styles { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

@media (max-width: 900px) {
  .pt-layout { grid-template-columns: 1fr; }
  .pt-aside { position: static; order: 2; }
  .pt-layout[data-paso="2"] .pt-aside { order: -1; }   /* en "Diseño" la vista previa va primero */
  .pt-layout[data-paso="4"] .pt-aside { display: none; }
}
@media (max-width: 560px) {
  .pt-colors { grid-template-columns: 1fr; }
  .pt-aside { padding: 12px; }
}

/* =====================================================================
   Maqueta (se dibuja a 1100 px o 375 px y se escala dentro del marco)
   ===================================================================== */
.pv { --pv-r: 14px; position: absolute; top: 0; left: 0; transform-origin: 0 0; container-type: inline-size; container-name: pv; font: 16px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #fff; color: #14202c; }
.pv * { box-sizing: border-box; }
.pv__nav { display: flex; align-items: center; gap: 28px; padding: 16px 48px; background: var(--pv-s); color: var(--pv-on-s); position: relative; z-index: 3; }
.pv__brand { display: flex; align-items: center; min-width: 0; }
.pv__brand:has(img) { background: #fff; padding: 6px 16px; border-radius: 999px; }
.pv__brand img { max-height: 44px; max-width: 190px; object-fit: contain; display: block; }
.pv__word { font-family: "Sora", "Manrope", system-ui, sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; color: var(--pv-on-s); }
.pv__menu { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: .92rem; color: var(--pv-on-s); }
.pv__menu li { opacity: .82; padding: 4px 0; border-bottom: 2px solid transparent; }
.pv__menu .is-on { opacity: 1; font-weight: 700; border-bottom-color: var(--pv-a); }
.pv__burger { display: none; width: 26px; height: 18px; margin-left: auto; border-top: 3px solid currentColor; border-bottom: 3px solid currentColor; position: relative; }
.pv__burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: currentColor; transform: translateY(-50%); }
.pv__btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap; }
.pv__btn--a { background: var(--pv-a); color: var(--pv-on-a); box-shadow: 0 10px 28px -12px var(--pv-a); }
.pv__btn--ghost { border: 1.5px solid currentColor; background: transparent; color: inherit; }
.pv__navcta { padding: 10px 22px; font-size: .88rem; }
.pv__full { width: 100%; }

/* Portada: mismo estilo del sitio (fondo oscuro, brillo, cuadrícula, foto y tarjeta de vidrio) */
.pv__hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 76px 48px 96px; background: var(--pv-s); color: var(--pv-on-s); overflow: hidden; isolation: isolate; }
.pv__hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 70% at 88% 18%, color-mix(in srgb, var(--pv-p) 60%, transparent), transparent 65%), radial-gradient(ellipse 50% 60% at 0% 100%, color-mix(in srgb, var(--pv-a) 30%, transparent), transparent 60%); }
.pv__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse 75% 85% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 75% 85% at 70% 30%, #000, transparent 75%); }
.pv__copy { min-width: 0; }
.pv__kicker { display: inline-block; padding: 6px 14px; border: 1px solid color-mix(in srgb, var(--pv-a) 70%, transparent); border-radius: 999px; font: 600 .72rem/1 ui-monospace, "JetBrains Mono", Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-on-s); background: color-mix(in srgb, var(--pv-a) 14%, transparent); }
.pv__h { font-family: "Sora", "Manrope", system-ui, sans-serif; font-size: 3.1rem; line-height: 1.05; letter-spacing: -.025em; font-weight: 800; margin: 22px 0 0; color: var(--pv-on-s); overflow-wrap: anywhere; }
.pv__h::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 4px; margin-top: 22px; background: var(--pv-a); }
.pv__lead { font-size: 1.15rem; line-height: 1.6; margin: 22px 0 0; max-width: 46ch; color: var(--pv-on-s); opacity: .88; }
.pv__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.pv__art { position: relative; min-height: 400px; }
.pv__photo { position: absolute; inset: 0 0 0 10%; border-radius: 22px; overflow: hidden; box-shadow: 0 34px 70px -30px rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.14); }
.pv__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv__tint { position: absolute; inset: 0; background: linear-gradient(160deg, color-mix(in srgb, var(--pv-p) 55%, transparent), color-mix(in srgb, var(--pv-s) 50%, transparent)); mix-blend-mode: multiply; opacity: .75; }
.pv__blob { display: none; }
.pv__glass { position: absolute; left: -2%; bottom: -7%; width: 64%; padding: 18px 20px; border-radius: 16px; background: color-mix(in srgb, var(--pv-s) 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2); color: var(--pv-on-s); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.pv__glass b { display: block; font-family: "Sora", "Manrope", system-ui, sans-serif; font-size: 1rem; margin-bottom: 10px; }
.pv__chk { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.12); }
.pv__chk i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; background: var(--pv-a); color: var(--pv-on-a); }
.pv__glass small { display: block; margin-top: 8px; font: 500 .72rem/1.3 ui-monospace, Consolas, monospace; opacity: .75; letter-spacing: .04em; }
.pv__sim { position: absolute; left: -2%; bottom: -7%; width: 66%; padding: 20px 22px; border-radius: 18px; background: #fff; color: #14202c; box-shadow: 0 28px 60px -24px rgba(0,0,0,.6); border-top: 5px solid var(--pv-a); }
.pv__sim > b { display: block; font-family: "Sora", "Manrope", system-ui, sans-serif; margin-bottom: 8px; color: var(--pv-p-texto); }
.pv__row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #e7ecf0; font-size: .9rem; }
.pv__cuota { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: var(--pv-p-suave); font-size: .85rem; }
.pv__cuota strong { font-size: 1.4rem; color: var(--pv-p-texto); }
.pv__sim small { display: block; text-align: center; margin-top: 8px; color: #667584; font-size: .72rem; }

/* Cinta de palabras */
.pv__ticker { display: flex; gap: 34px; padding: 15px 48px; overflow: hidden; white-space: nowrap; background: var(--pv-p); color: var(--pv-on-p); font: 800 .85rem/1 "Sora", "Manrope", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.pv__ticker span::after { content: "\25C6"; margin-left: 34px; color: var(--pv-a); }
.pv__ticker span { flex: 0 0 auto; }

/* Servicios */
.pv__sec { padding: 84px 48px 72px; background: var(--pv-p-suave); }
.pv__h4 { font-family: "Sora", "Manrope", system-ui, sans-serif; font-size: 2.1rem; letter-spacing: -.02em; margin: 0 0 34px; color: var(--pv-p-texto); }
.pv__h4::after { content: ""; display: block; width: 56px; height: 5px; border-radius: 4px; margin-top: 14px; background: var(--pv-a); }
.pv__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pv__card { background: #fff; border-radius: 20px; padding: 28px 26px; border: 1px solid rgba(20,32,44,.08); box-shadow: 0 18px 40px -28px rgba(20,32,44,.35); position: relative; overflow: hidden; }
.pv__card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pv-p), var(--pv-a)); }
.pv__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; font: 800 1.1rem/1 "Sora", system-ui, sans-serif; background: var(--pv-p); color: var(--pv-on-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pv-a) 28%, transparent); }
.pv__card b { display: block; font-family: "Sora", "Manrope", system-ui, sans-serif; font-size: 1.05rem; margin-bottom: 6px; color: #14202c; }
.pv__card p { margin: 0; font-size: .93rem; color: #4a5866; }

/* Llamado a la acción y pie */
.pv__band { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 0 48px; transform: translateY(-34px); padding: 38px 46px; border-radius: 24px; background: linear-gradient(110deg, var(--pv-s) 55%, color-mix(in srgb, var(--pv-s) 62%, var(--pv-p))); color: var(--pv-on-s); box-shadow: 0 30px 60px -34px rgba(0,0,0,.55); }
.pv__band p { margin: 0; font: 800 1.45rem/1.25 "Sora", "Manrope", system-ui, sans-serif; letter-spacing: -.01em; }
.pv__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px 48px 28px; margin-top: -4px; background: color-mix(in srgb, var(--pv-s) 86%, #000); color: var(--pv-on-s); font-size: .82rem; }
.pv__foot span { opacity: .8; }

/* Estilo: moderno (degradado y forma redondeada) */
.pv--moderno .pv__hero { background: linear-gradient(135deg, var(--pv-s) 30%, color-mix(in srgb, var(--pv-s) 55%, var(--pv-p))); }
.pv--moderno .pv__photo { border-radius: 180px 26px 26px 26px; }
.pv--moderno .pv__btn { border-radius: 14px; }
.pv--moderno .pv__card { border-radius: 26px; }

/* Estilo: cercano (claro, cálido y redondeado) */
.pv--cercano .pv__nav { background: #fff; color: #14202c; box-shadow: 0 1px 0 rgba(20,32,44,.08); }
.pv--cercano .pv__word { color: var(--pv-p-texto); }
.pv--cercano .pv__brand:has(img) { background: none; padding: 0; }
.pv--cercano .pv__hero { background: var(--pv-p-suave); color: #14202c; }
.pv--cercano .pv__hero::before { background: radial-gradient(ellipse 55% 65% at 90% 15%, color-mix(in srgb, var(--pv-p) 28%, transparent), transparent 65%), radial-gradient(ellipse 45% 55% at 0% 100%, color-mix(in srgb, var(--pv-a) 22%, transparent), transparent 60%); }
.pv--cercano .pv__hero::after { background-image: radial-gradient(rgba(20,32,44,.12) 1.4px, transparent 1.6px); background-size: 26px 26px; }
.pv--cercano .pv__kicker { color: var(--pv-p-texto); border-color: var(--pv-p-texto); background: #fff; }
.pv--cercano .pv__h { color: var(--pv-p-texto); }
.pv--cercano .pv__lead { color: #2c3a47; opacity: 1; }
.pv--cercano .pv__photo { border-radius: 34px; border: 6px solid #fff; }
.pv--cercano .pv__tint { opacity: .35; }
.pv--cercano .pv__glass { background: #fff; color: #14202c; border-color: rgba(20,32,44,.1); -webkit-backdrop-filter: none; backdrop-filter: none; }
.pv--cercano .pv__chk { border-top-color: #e7ecf0; }
.pv--cercano .pv__btn { border-radius: 999px; }
.pv--cercano .pv__card { border-radius: 28px; }
.pv--cercano .pv__menu { color: #14202c; }

@container pv (max-width: 600px) {
  .pv__nav { padding: 14px 20px; gap: 14px; }
  .pv__menu, .pv__navcta { display: none; }
  .pv__burger { display: block; }
  .pv__hero { grid-template-columns: 1fr; gap: 40px; padding: 44px 20px 70px; }
  .pv__h { font-size: 2.1rem; }
  .pv__lead { font-size: 1rem; }
  .pv__art { min-height: 290px; }
  .pv__photo { inset: 0 0 0 0; }
  .pv--moderno .pv__photo { border-radius: 110px 22px 22px 22px; }
  .pv__glass, .pv__sim { left: 0; width: 86%; bottom: -12%; }
  .pv__ticker { padding: 13px 20px; font-size: .75rem; }
  .pv__sec { padding: 64px 20px 56px; }
  .pv__h4 { font-size: 1.6rem; }
  .pv__cards { grid-template-columns: 1fr; }
  .pv__band { flex-direction: column; align-items: flex-start; margin: 0 20px; padding: 28px 24px; }
  .pv__band p { font-size: 1.2rem; }
  .pv__foot { flex-direction: column; padding: 24px 20px; }
}


/* =========================================================
   Página del simulador en el estilo oscuro de CumplimientoTech
   (solo con <body class="ct-page pt-dark">)
   ========================================================= */
body.pt-dark {
	--ct-accent: #5FC2B0; --ct-accent-ink: #0B2545;
	--ct-bg: #050E1C; --ct-surface: #0B1F38; --ct-text: #E6EEF5; --ct-muted: #9FB1C6;
	--ct-border: rgba(159,177,198,.22); --ct-ok: #5FC2B0; --ct-err: #FF9C8A;
	--pt-glow: rgba(31,122,109,.38);
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	background: #050E1C; color: var(--ct-text); color-scheme: dark;
	min-height: 100vh; position: relative;
}
body.pt-dark::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
	background: radial-gradient(ellipse 60% 55% at 85% 0%, var(--pt-glow), transparent 65%), radial-gradient(ellipse 50% 50% at 0% 90%, rgba(43,217,230,.12), transparent 60%), #050E1C; }
body.pt-dark::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(159,177,198,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(159,177,198,.06) 1px, transparent 1px);
	background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 10%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 70% 10%, #000, transparent 75%); }
.pt-dark h1, .pt-dark h2, .pt-dark h3, .pt-dark legend { font-family: "Sora", "Manrope", system-ui, sans-serif; color: #fff; letter-spacing: -.02em; }
.pt-dark .ct-top { background: rgba(5,14,28,.78); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(159,177,198,.16); box-shadow: none; }
.pt-dark .ct-top, .pt-dark .ct-top a { color: var(--ct-text); }
.pt-dark .ct-top > a:first-child, .pt-dark .ct-top .ct-logo { font-family: "Sora", system-ui, sans-serif; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.pt-dark .ct-top nav a { color: var(--ct-muted); }
.pt-dark .ct-top nav a:hover { color: var(--ct-accent); }
.pt-dark .ct-hero { background: transparent; border: 0; color: var(--ct-text); }
.pt-dark .ct-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; font-weight: 800; }
.pt-dark .ct-hero h1::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 4px; margin-top: 18px; background: linear-gradient(100deg, #5FC2B0, #2BD9E6); }
.pt-dark .ct-hero p { color: var(--ct-muted); }
.pt-dark .ct-hero p b, .pt-dark .ct-hero p strong { color: var(--ct-accent); }
.pt-dark .pt-how li { color: var(--ct-text); }
.pt-dark .pt-how b { background: var(--ct-accent); color: var(--ct-accent-ink); box-shadow: 0 0 0 4px rgba(95,194,176,.2); }
.pt-dark .ct-card, .pt-dark .pt-aside { background: rgba(11,31,56,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(159,177,198,.2); border-radius: 22px; box-shadow: 0 30px 70px -40px rgba(0,0,0,.8); }
.pt-dark .ct-steps li { color: var(--ct-muted); }
.pt-dark .ct-steps li.is-current, .pt-dark .ct-steps li.is-done { color: #fff; }
.pt-dark .ct-input, .pt-dark select.ct-input, .pt-dark textarea.ct-input { background: rgba(5,14,28,.7); color: var(--ct-text); border-color: rgba(159,177,198,.3); }
.pt-dark .ct-input::placeholder { color: #6F8299; }
.pt-dark .ct-input:focus { border-color: var(--ct-accent); box-shadow: 0 0 0 3px rgba(95,194,176,.25); }
.pt-dark .ct-field > label, .pt-dark .ct-field > .ct-label, .pt-dark .ct-step legend { color: #fff; }
.pt-dark .ct-help, .pt-dark .ct-field small { color: var(--ct-muted); }
.pt-dark .ct-option span, .pt-dark .ct-drop, .pt-dark .pt-swatch, .pt-dark .pt-color { background: rgba(5,14,28,.55); color: var(--ct-text); border-color: rgba(159,177,198,.28); }
.pt-dark .ct-option input:checked + span { border-color: var(--ct-accent); background: rgba(95,194,176,.14); box-shadow: 0 0 0 1px var(--ct-accent); }
.pt-dark .ct-drop.is-over { border-color: var(--ct-accent); background: rgba(95,194,176,.1); }
.pt-dark .ct-btn, .pt-dark button.ct-btn { background: var(--ct-accent); color: var(--ct-accent-ink); border-color: transparent; font-weight: 800; box-shadow: 0 12px 30px -12px rgba(95,194,176,.7); }
.pt-dark .ct-btn:hover { background: #7fd6c6; }
.pt-dark .ct-btn--ghost, .pt-dark .ct-btn.ct-btn--ghost { background: transparent; color: var(--ct-text); border: 1px solid rgba(159,177,198,.4); box-shadow: none; }
.pt-dark .ct-check a, .pt-dark a { color: var(--ct-accent); }
.pt-dark .pt-aside__head h2 { color: #fff; }
.pt-dark .pt-device button { background: rgba(5,14,28,.6); color: var(--ct-text); border-color: rgba(159,177,198,.3); }
.pt-dark .pt-device button[aria-pressed="true"] { background: var(--ct-accent); color: var(--ct-accent-ink); border-color: var(--ct-accent); }
.pt-dark .pt-frame { background: rgba(5,14,28,.55); border-color: rgba(159,177,198,.22); }
.pt-dark .pt-contrast.is-warn { color: #FFC9BF; background: rgba(255,156,138,.1); border-color: rgba(255,156,138,.45); }
.pt-dark .pt-contrast.is-ok { color: #A8F0E1; background: rgba(95,194,176,.1); border-color: rgba(95,194,176,.4); }
.pt-dark .ct-error, .pt-dark .ct-alert--err { color: #FFC9BF; }
.pt-dark .pt-terms, .pt-dark .pt-aside p, .pt-dark .pt-aside small { color: var(--ct-muted); }
.pt-dark .ct-top { box-shadow: 0 0 0 100vmax rgba(5,14,28,.78); clip-path: inset(0 -100vmax); }
.pt-dark .ct-top { position: sticky; top: 0; z-index: 20; }
