/* VALIDO MASTER KIT: HOLOGRAMA FLOTANTE QUE SIGUE LA PÁGINA (#veH) + FIRMA PICASSO IMPERIAL FONDO ROMA */
/* Guardado permanente para La Fábrica y todas las páginas insignia de Valido Enterprises Group */

/* === 1) LOCK ABSOLUTO DEL HOLOGRAMA FLOTANTE SIGUIENDO EL SCROLL (#veH) === */
html body #veH {
  position: fixed !important;
  right: 12px !important;
  bottom: 10px !important;
  z-index: 2147483000 !important;
  width: 190px !important;
  height: 350px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  transform: none !important;
  transition: opacity .35s ease !important;
}
html body #veH.mini,
html body #veH.peq,
html body #veH[class*="mini"],
html body #veH[class*="peq"] {
  width: 190px !important;
  height: 350px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
html body #veH .fig,
html body #veH .lien,
html body #veH .haz,
html body #veH .base {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
html body #veH .lien,
html body #veH .tag,
html body #veH .x,
html body #veH .bur {
  pointer-events: auto !important;
}
html body #veH .lien canvas,
html body #veH .lien video {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
  height: 100% !important;
}
/* Solo se oculta si el usuario hizo clic explícito en cerrar (data-user-closed="1") */
html body #veH[data-user-closed="1"] {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  html body #veH,
  html body #veH.mini,
  html body #veH.peq {
    right: 6px !important;
    bottom: 6px !important;
    width: 102px !important;
    height: 188px !important;
  }
  html body #veH .lien,
  html body #veH.mini .lien,
  html body #veH.peq .lien {
    width: 90px !important;
    height: 158px !important;
    margin-left: -45px !important;
    bottom: 22px !important;
  }
  html body #veH .haz {
    width: 84px !important;
    height: 138px !important;
    margin-left: -42px !important;
    bottom: 20px !important;
  }
  html body #veH .base {
    width: 78px !important;
    height: 20px !important;
    margin-left: -39px !important;
    bottom: 10px !important;
  }
  html body #veH .tag {
    font-size: 8.5px !important;
    padding: 3px 8px !important;
  }
  #sigillvm-fijo {
    transform: scale(0.62) !important;
    transform-origin: bottom left !important;
  }
}

/* === 2) PIE DE PÁGINA IMPERIAL CON FIRMA ESTILO PICASSO · FONDO ROMA AZUL · PERTENENCIA VALIDO ENTERPRISES === */
.ve-picasso-footer {
  position: relative;
  margin-top: 72px;
  padding: 58px 24px 120px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 216, 77, 0.42);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 216, 77, 0.14) 0%, transparent 56%),
    linear-gradient(180deg, rgba(6, 12, 28, 0.56) 0%, rgba(5, 8, 18, 0.72) 55%, rgba(4, 6, 12, 0.84) 100%),
    url('/a/f-22-vaticano-boveda-azul-desktop.jpg') center 35% / cover no-repeat;
  color: #f9f3e4;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
.ve-picasso-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.10), transparent 48%),
              radial-gradient(circle at 80% 25%, rgba(28, 72, 156, 0.22), transparent 52%);
  pointer-events: none;
}
.ve-pf-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px clamp(20px, 4vw, 44px);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(8, 13, 26, 0.36) 0%, rgba(4, 6, 12, 0.52) 100%);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 216, 77, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 245, 195, 0.24), 0 28px 72px rgba(0, 0, 0, 0.50);
}
.ve-pf-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 216, 77, 0.22);
}
@media (max-width: 820px) {
  .ve-pf-top { grid-template-columns: 1fr; gap: 22px; }
}
.ve-pf-sig-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ve-pf-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd84d;
}
.ve-picasso-svg {
  width: min(370px, 100%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(255, 216, 77, 0.42));
}
.ve-picasso-path {
  fill: none;
  stroke: url(#vePicassoGoldGrad);
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 0;
  animation: vePicassoDraw 4.2s ease-in-out 1;
}
@keyframes vePicassoDraw {
  from { stroke-dashoffset: 1600; }
  to { stroke-dashoffset: 0; }
}
.ve-pf-ownership {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #ede4cf;
}
.ve-pf-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 560px) {
  .ve-pf-contacts { grid-template-columns: 1fr; }
}
.ve-pf-chip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(8, 12, 22, 0.36);
  border: 1px solid rgba(255, 216, 77, 0.26);
  text-decoration: none;
  color: #fbf6e8;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.ve-pf-chip:hover {
  border-color: #ffd84d;
  background: rgba(255, 216, 77, 0.12);
  transform: translateY(-2px);
}
.ve-pf-chip span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd84d;
}
.ve-pf-chip strong {
  font-size: 13.5px;
  color: #ffffff;
  word-break: break-word;
}
.ve-pf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  font-size: 12.5px;
  color: #d8ccb0;
}
.ve-pf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ve-pf-links a {
  color: #ffd84d;
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
}
.ve-pf-links a:hover {
  text-decoration: underline;
}

/* === 3) SELECTOR UNIVERSAL DE 33 IDIOMAS EN VIVO (CRYSTAL BLACK & GOLD) === */
.ve-lang33-wrap {
  position: fixed;
  left: 88px;
  bottom: 18px;
  z-index: 2147482900;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.ve-lang33-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 99px;
  background: linear-gradient(155deg, rgba(8, 13, 26, 0.72), rgba(4, 6, 12, 0.86));
  backdrop-filter: blur(18px) saturate(175%);
  -webkit-backdrop-filter: blur(18px) saturate(175%);
  border: 1px solid rgba(255, 216, 77, 0.52);
  color: #fff4b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
  transition: transform .2s ease, border-color .2s ease;
}
.ve-lang33-btn:hover {
  transform: translateY(-2px);
  border-color: #ffd84d;
}
.ve-lang33-panel {
  display: none;
  position: absolute;
  left: 0;
  bottom: 48px;
  width: min(320px, calc(100vw - 24px));
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(8, 13, 26, 0.90), rgba(4, 6, 14, 0.95));
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 216, 77, 0.50);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
}
.ve-lang33-panel.open { display: block; }
.ve-lang33-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd84d;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ve-lang33-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.ve-lang33-opt {
  text-align: left;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 216, 77, 0.18);
  color: #f6eedc;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.ve-lang33-opt:hover,
.ve-lang33-opt.active {
  background: linear-gradient(135deg, #ffd84d, #d4af37);
  color: #090a0d;
  border-color: #fff4b8;
}
@media (max-width: 768px) {
  .ve-lang33-wrap { left: 66px; bottom: 12px; }
  .ve-lang33-btn { padding: 7px 11px; font-size: 11px; }
}
