/* v16 · claridad · v16-portada.css · ver C:/FlowXR/_DISENO_FLOWXR/CONTRATO_v16.md
   La portada ES el antes/despues. Capa aditiva sobre v14/v15. Todo lo de portada cuelga de body.fase-heroe. */

:root{--v16-handle:48px;--v16-top:calc(10px + var(--safe-t,0px))}

/* ============ 1 · el comparador a pantalla completa, por encima de la esfera ============ */
html body.fase-heroe #gl{pointer-events:none;visibility:hidden}
html body.fase-heroe #heroe::before{display:none}
html body.fase-heroe #heroe .hero-compare{display:block!important;position:absolute;inset:0;width:100%;height:100%;max-height:none;z-index:2;background:#14171a;touch-action:none;pointer-events:auto;cursor:ew-resize;-webkit-user-select:none;user-select:none}
html body.fase-heroe #heroe .hero-compare::before{content:none;display:none}
html body.fase-heroe #heroe .hero-compare img{object-fit:cover;object-position:center 55%;transition:opacity .45s ease}
html body.fase-heroe #heroe .hero-compare.v16-carga img{opacity:0}
/* la linea: fina y blanca, de arriba a abajo (sin la mascara de la v11) */
html body.fase-heroe #heroe .hero-compare::after{z-index:4;left:var(--proposal);width:2px;margin-left:-1px;background:rgba(255,255,255,.92);box-shadow:0 0 0 1px rgba(8,10,9,.28),0 0 14px rgba(0,0,0,.25);-webkit-mask-image:none;mask-image:none}
html body.fase-heroe #heroe .hero-compare input{position:absolute;inset:0;width:100%;height:100%;z-index:6;touch-action:none;margin:0;pointer-events:none}
/* asa de vidrio de 48 px */
html body.fase-heroe #heroe .hero-handle{z-index:5;width:var(--v16-handle);height:var(--v16-handle);top:var(--v16-hy,46%);border:1px solid rgba(255,255,255,.5);border-radius:50%;
  background:rgba(14,16,15,.34);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3);box-shadow:0 4px 22px rgba(0,0,0,.35),0 1px 0 rgba(255,255,255,.2) inset}
html body.fase-heroe #heroe .hero-handle::before,html body.fase-heroe #heroe .hero-handle::after{top:18px;width:10px;height:10px;border-color:#fff;border-width:2px 0 0 2px}
html body.fase-heroe #heroe .hero-handle::before{left:12px}
html body.fase-heroe #heroe .hero-handle::after{right:12px}
/* rotulos Today / Proposal: vidrio chico, a cada lado, a la altura del asa */
html body.fase-heroe #heroe .hero-today,html body.fase-heroe #heroe .hero-proposal{z-index:5;position:absolute;top:var(--v16-hy,46%);bottom:auto;margin-top:calc(var(--v16-handle) / 2 + 12px);display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:8px;
  background:rgba(10,12,11,.56);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.18);color:#fff;font:600 11px/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;text-shadow:none;transition:opacity var(--v14-t1,240ms) ease;pointer-events:none}
html body.fase-heroe #heroe .hero-today{left:14px;right:auto}
html body.fase-heroe #heroe .hero-proposal{right:14px;left:auto}
html body.fase-heroe #heroe .hero-compare.v16-sin-hoy .hero-today,html body.fase-heroe #heroe .hero-compare.v16-sin-prop .hero-proposal{opacity:0}

/* ============ 2 · velo: sólo el mínimo, abajo, detrás del texto ============ */
html body.fase-heroe #heroe .hero-vel{z-index:3;background:linear-gradient(0deg,rgba(6,8,7,.72) 0,rgba(6,8,7,.6) 9%,rgba(6,8,7,.36) 18%,rgba(6,8,7,.12) 26%,rgba(6,8,7,0) 32%)}
html body.fase-heroe #heroe .hero-vel::after{content:"";position:absolute;left:0;right:0;top:0;height:84px;background:linear-gradient(180deg,rgba(6,8,7,.26),rgba(6,8,7,0))}

/* ============ 3 · texto mínimo: se ocultan a la vista (siguen en el DOM) ============ */
html body.fase-heroe #heroe .hero-rot,html body.fase-heroe #heroe #bHeroAntes,html body.fase-heroe #heroe .perfiles,html body.fase-heroe #heroe #perfilesTog,html body.fase-heroe #heroe .hero-links,html body.fase-heroe #dragHint{display:none!important}

html body.fase-heroe #heroe .hero-copy{z-index:7;pointer-events:none;left:var(--v14-gx,20px);bottom:clamp(24px,5vh,56px);width:min(640px,calc(100vw - 2 * var(--v14-gx,20px)));text-shadow:0 1px 2px rgba(0,0,0,.4),0 0 26px rgba(0,0,0,.35)}
html body.fase-heroe #heroe .hero-copy .hero-acc,html body.fase-heroe #heroe .hero-copy button{pointer-events:auto}
html body.fase-heroe #heroe h1{max-width:15ch;font-size:var(--v14-display);line-height:.98}
html body.fase-heroe #heroe .hero-linea{margin:14px 0 22px;max-width:36ch;font-size:clamp(16px,1.2vw + 11px,19px);line-height:1.3;color:rgba(255,255,255,.96)}
html body.fase-heroe #heroe .hero-acc{display:block;margin:0}

/* ============ 4 · UN boton lleno ============ */
html body.fase-heroe #heroe{--v14-accent:#DAF77E;--v14-on-accent:#101211;--v14-accent-hover:#EAFFA6}
html body.fase-heroe #heroe #bHeroCotiza{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:56px;height:56px;padding:0 28px;border-radius:14px;
  background:var(--v14-accent);color:var(--v14-on-accent);border:1px solid var(--v14-accent);font:600 17px/1 var(--body);text-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 10px 30px -10px rgba(0,0,0,.6)}
html body.fase-heroe #heroe #bHeroCotiza .ic{display:block;width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--v14-t1,240ms) var(--v14-ease,ease)}
html body.fase-heroe #heroe #bHeroCotiza:hover,html body.fase-heroe #heroe #bHeroCotiza:focus-visible{background:var(--v14-accent-hover);border-color:var(--v14-accent-hover);color:var(--v14-on-accent)}
html body.fase-heroe #heroe #bHeroCotiza:hover .ic,html body.fase-heroe #heroe #bHeroCotiza:focus-visible .ic{transform:translateX(4px)}

/* ============ 6 · rotulo de honestidad pegado a la imagen (arriba a la izquierda, debajo del logo) ============ */
html body.fase-heroe .hero-honesty{z-index:8;left:var(--v14-gx,20px);right:auto;top:calc(72px + var(--safe-t,0px));bottom:auto;height:26px;padding:0 10px;border-radius:8px;display:inline-flex;align-items:center;
  background:rgba(10,12,11,.62);border:1px solid rgba(255,255,255,.2);color:#fff;font:500 11px/1 var(--mono);letter-spacing:.06em;white-space:nowrap}

/* ============ 5 · cabecera: logo + (movil) ≡ ============ */
html body .v16-mb{display:none}
html body:not(.listo) .v16-mb{opacity:0;pointer-events:none}
.v16-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* panel */
dialog#v16Menu{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#fff;overflow:hidden}
dialog#v16Menu::backdrop{background:rgba(5,7,6,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
dialog#v16Menu .v16-panel{position:absolute;left:10px;right:10px;top:calc(10px + var(--safe-t,0px));bottom:calc(10px + var(--safe-b,0px));display:flex;flex-direction:column;border-radius:24px;border:1px solid rgba(255,255,255,.16);
  background:rgba(14,16,15,.84);-webkit-backdrop-filter:blur(26px) saturate(1.3);backdrop-filter:blur(26px) saturate(1.3);box-shadow:0 30px 80px -20px rgba(0,0,0,.7);overflow:hidden;
  animation:v16up var(--v14-t2,420ms) var(--v14-ease,ease) both}
@keyframes v16up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
dialog#v16Menu .v16-cab{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 0 20px;min-height:56px}
dialog#v16Menu .v16-cab b{font:700 20px/1 var(--body);letter-spacing:-.02em}
dialog#v16Menu .v16-x{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff;cursor:pointer}
dialog#v16Menu .v16-cuerpo{flex:1;min-height:0;overflow:auto;padding:4px 12px 8px;overscroll-behavior:contain}
dialog#v16Menu .v16-fila{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:0 10px 0 8px;margin:0;border:0;border-bottom:1px solid rgba(255,255,255,.1);background:none;color:#fff;font:500 19px/1.2 var(--body);text-align:left;cursor:pointer;border-radius:10px}
dialog#v16Menu .v16-fila svg{width:20px;height:20px;flex:none;opacity:.7;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
dialog#v16Menu .v16-fila:hover,dialog#v16Menu .v16-fila:focus-visible{background:rgba(255,255,255,.08)}
dialog#v16Menu button:focus-visible{outline:2px solid #DAF77E;outline-offset:2px}
dialog#v16Menu .v16-sub{margin:20px 0 4px 8px;font:500 14px/1.2 var(--body);color:rgba(255,255,255,.7)}
dialog#v16Menu .v16-fila.p{min-height:52px;font-size:18px}
dialog#v16Menu .v16-pie{display:flex;gap:8px;padding:10px 12px calc(12px + 0px);border-top:1px solid rgba(255,255,255,.1)}
dialog#v16Menu .v16-pie button{flex:1;min-height:52px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;font:600 16px/1 var(--body);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}
dialog#v16Menu .v16-pie svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* ============ TELEFONO ============ */
@media (max-width:640px){
  html body .v7-nav{display:none!important}
  :root{--v14-navbar-h:0px}
  html body .v16-mb{position:fixed;z-index:42;top:var(--v16-top);right:12px;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border-radius:12px;
    background:rgba(10,12,11,.5);border:1px solid rgba(255,255,255,.18);color:#fff;-webkit-backdrop-filter:var(--v14-blur);backdrop-filter:var(--v14-blur);cursor:pointer}
  html body .v16-mb svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
  html body .v16-mb:focus-visible{outline:2px solid #DAF77E;outline-offset:2px}
  html body.fase-heroe #heroe .hero-copy{left:16px;right:16px;width:auto;bottom:calc(20px + var(--safe-b,0px))}
  html body.fase-heroe #heroe h1{max-width:100%;font-size:clamp(30px,9.4vw,46px);line-height:1}
  html body.fase-heroe #heroe .hero-today,html body.fase-heroe #heroe .hero-proposal{top:var(--v16-hy,46%)!important;bottom:auto!important}
  html body.fase-heroe #heroe .hero-linea{margin:12px 0 18px;font-size:16.5px}
  html body.fase-heroe #heroe #bHeroCotiza{display:flex;width:100%;justify-content:space-between;padding:0 24px}
  html body.fase-heroe .hero-honesty{top:calc(66px + var(--safe-t,0px));left:16px;right:auto}
  html body.fase-heroe #heroe .hero-today{left:12px}html body.fase-heroe #heroe .hero-proposal{right:12px}
  html[lang="es"] body.fase-heroe .hero-honesty{top:calc(66px + var(--safe-t,0px))}
}
@media (max-width:380px){html body.fase-heroe .hero-honesty{letter-spacing:-.01em;padding:0 6px;left:12px}}
@media (max-width:640px) and (max-height:700px){
  html body.fase-heroe #heroe .hero-copy{bottom:calc(14px + var(--safe-b,0px))}
  html body.fase-heroe #heroe .hero-vel{background:linear-gradient(0deg,rgba(6,8,7,.72) 0,rgba(6,8,7,.58) 12%,rgba(6,8,7,.3) 22%,rgba(6,8,7,.08) 29%,rgba(6,8,7,0) 34%)}
  html body.fase-heroe #heroe h1{font-size:clamp(28px,8.4vw,34px)}
  html body.fase-heroe #heroe .hero-linea{margin:8px 0 12px;font-size:15.5px}
  html body.fase-heroe #heroe #bHeroCotiza{min-height:56px}
}

/* ============ ESCRITORIO: se conserva la capsula; los perfiles viven en un punto discreto de la capsula ============ */
@media (min-width:641px){
  html body .v7-nav #v16Perfiles{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 8px;border:0;background:none;color:#fff;cursor:pointer;border-radius:999px;position:relative}
  html body .v7-nav #v16Perfiles svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  html body .v7-nav #v16Perfiles::before{content:"";position:absolute;left:-4px;top:14px;bottom:14px;width:1px;background:rgba(255,255,255,.22)}
  html body .v7-nav #v16Perfiles:hover{background:rgba(255,255,255,.14)}
  dialog#v16Menu .v16-panel{left:50%;right:auto;top:96px;bottom:auto;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 120px);translate:-50% 0;transform-origin:top}
  dialog#v16Menu.v16-solo-perfiles .v16-pie{display:none}
  dialog#v16Menu.v16-solo-perfiles .v16-nav>.v16-fila:not([data-dest="antes"]){display:none}
  dialog#v16Menu.v16-solo-perfiles .v16-sub{margin-top:6px}
  html body.fase-heroe #heroe h1{max-width:100%;font-size:clamp(44px,4.4vw,64px);line-height:1}
  html body.fase-heroe #heroe .hero-copy{width:min(760px,calc(100vw - 2 * var(--v14-gx,64px)))}
  html body.fase-heroe #heroe .hero-linea{margin:14px 0 24px;font-size:19px}
  html body.fase-heroe .hero-honesty{top:auto;bottom:clamp(24px,5vh,56px);left:auto;right:var(--v14-gx,64px)}
  html body.fase-heroe #heroe .hero-today{left:clamp(20px,4vw,60px)}html body.fase-heroe #heroe .hero-proposal{right:clamp(20px,4vw,60px)}
}
@media (min-width:641px){html body.fase-heroe #heroe .hero-vel{background:linear-gradient(0deg,rgba(6,8,7,.5) 0,rgba(6,8,7,.34) 8%,rgba(6,8,7,.12) 16%,rgba(6,8,7,0) 24%),radial-gradient(ellipse 60% 56% at 0 100%,rgba(6,8,7,.78),rgba(6,8,7,.5) 55%,rgba(6,8,7,0) 100%)}}

/* ============ 7 · recorrido en telefono: sin dock; la tarjeta baja al borde; dos ≡ no se confunden ============ */
@media (max-width:640px){
  html body:not(.fase-heroe) #bQue{position:relative}
  /* el ≡ del recorrido (#bQue, «qué quieres hacer») cambia de icono: lista de pasos; el ≡ de tres rayas es sólo el nuevo */
  html body:not(.fase-heroe) #bQue svg{display:none}
  html body:not(.fase-heroe) #bQue::before{content:"";display:block;width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Ccircle cx='4.5' cy='6' r='1.2' fill='black'/%3E%3Ccircle cx='4.5' cy='12' r='1.2' fill='black'/%3E%3Ccircle cx='4.5' cy='18' r='1.2' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Ccircle cx='4.5' cy='6' r='1.2' fill='black'/%3E%3Ccircle cx='4.5' cy='12' r='1.2' fill='black'/%3E%3Ccircle cx='4.5' cy='18' r='1.2' fill='black'/%3E%3C/svg%3E") center/contain no-repeat}
}

/* ============ 8 · entrada: el asa y los rotulos aparecen con la imagen; nada bloquea el toque ============ */
@media (prefers-reduced-motion: no-preference){
  html body.fase-heroe #heroe .hero-compare .hero-handle,html body.fase-heroe #heroe .hero-compare .hero-today,html body.fase-heroe #heroe .hero-compare .hero-proposal,html body.fase-heroe .hero-honesty{animation:v16fade 700ms var(--v14-ease,ease) .35s backwards}
}
@keyframes v16fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion: reduce){dialog#v16Menu .v16-panel{animation:none}}

/* recorrido en telefono: el rotulo «Design proposal» baja a una segunda fila para no chocar con el ≡ */
@media (max-width:640px){html body:not(.fase-heroe) #sello{top:calc(60px + var(--safe-t,0px))!important;right:auto!important;left:12px!important;max-width:calc(100vw - 24px)!important}}

/* ---------- ronda 2 (integrador) */
/* escritorio: el icono de persona lleva su rotulo (el texto de #heroQuien) */
@media (min-width:641px){
  html body .v7-nav #v16Perfiles{gap:8px;padding:0 12px}
  html body .v7-nav #v16Perfiles .v16-pt{font:inherit;font-size:14px;white-space:nowrap;color:inherit}
}

/* ---------- honestidad (director 10-10): «Example · today / proposal» a cada lado + «Digitally created» arriba */
html body.fase-heroe #heroe .hero-today,html body.fase-heroe #heroe .hero-proposal{white-space:nowrap;font-size:11px}
@media (max-width:380px){
  html body.fase-heroe #heroe .hero-today,html body.fase-heroe #heroe .hero-proposal{letter-spacing:0;padding:0 8px}
  html body.fase-heroe #heroe .hero-today{left:8px}html body.fase-heroe #heroe .hero-proposal{right:8px}
}
