/* ═══ Glow up Grupo Varesca (3 dic 2026) — capa encima del diseño original; las líneas finas NO se tocan ═══ */
::selection { background: #C6C6C9; color: #0B0B0C; }

/* título del hero con brillo cromado que pasa lento */
.hero h1 {
  background: linear-gradient(105deg, #fff 0%, #fff 40%, #C9C9CC 47%, #fff 50%, #8E8E93 53%, #fff 60%, #fff 100%);
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important;
  animation: gv-cromo 7s ease-in-out infinite;
}
.hero h1 em, .hero h1 i { -webkit-text-fill-color: initial; }
@keyframes gv-cromo { 0%, 20% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }

/* tarjetas de divisiones: borde cromado de 1 px al pasar */
.dcard, .plate { position: relative; transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s; }
.dcard::after, .plate::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; padding: 1px; border-radius: inherit; opacity: 0; transition: opacity .45s;
  background: linear-gradient(135deg, #FFFFFF 0%, #C9C9CC 22%, #F4F4F4 42%, #8E8E93 62%, #E8E8E8 82%, #B0B0B4 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.dcard:hover, .plate:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .45); }
.dcard:hover::after, .plate:hover::after { opacity: 1; }

/* botones claros: destello */
.btn-w, .btn-p { position: relative; overflow: hidden; }
.btn-w::after, .btn-p::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); animation: gv-sheen 5.5s ease-in-out infinite;
}
.btn-p::after { background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .22), transparent); }
@keyframes gv-sheen { 0%, 72% { left: -80%; } 100% { left: 140%; } }

/* ═══ Intro del logo ═══ */
#gv-intro {
  position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  background: #0B0B0C; cursor: pointer; transition: opacity .7s ease, visibility .7s;
}
#gv-intro::before { content: ''; position: absolute; width: 90vmin; height: 90vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .09), transparent 65%); }
#gv-intro.fuera { opacity: 0; visibility: hidden; }
#gv-intro svg { width: min(30vw, 130px); height: min(30vw, 130px); position: relative; overflow: visible; }
#gv-intro svg .trazo { stroke-dasharray: 1; stroke-dashoffset: 1; }
#gv-intro svg .marco { animation: gv-trazo .9s cubic-bezier(.65, 0, .25, 1) .15s forwards; }
#gv-intro svg .v { animation: gv-trazo .7s cubic-bezier(.65, 0, .25, 1) .75s forwards; }
#gv-intro svg .fina { opacity: 0; animation: gv-fade .5s ease 1.2s forwards; }
@keyframes gv-trazo { to { stroke-dashoffset: 0; } }
@keyframes gv-fade { to { opacity: .55; } }
#gv-intro .bloque { position: relative; display: flex; flex-direction: column; align-items: center; }
#gv-intro .grupo { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: min(3.4vw, 14px); letter-spacing: .6em; padding-left: .6em; color: #8A8A8F; opacity: 0; animation: gv-fade2 .6s ease 1.5s forwards; margin-bottom: 10px; }
#gv-intro .nombre {
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: min(13vw, 76px); line-height: 1; letter-spacing: .5em; padding-left: .14em;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .95) 50%, transparent 60%), linear-gradient(135deg, #FFFFFF 0%, #C9C9CC 22%, #F4F4F4 42%, #8E8E93 62%, #E8E8E8 82%, #B0B0B4 100%);
  background-size: 300% 100%, 100% 100%; background-position: 120% 0, 0 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; filter: blur(10px);
  animation: gv-nombre .9s cubic-bezier(.2, .7, .2, 1) 1.2s forwards, gv-brillo 1.2s ease-in-out 2.1s forwards;
}
@keyframes gv-nombre { to { opacity: 1; filter: blur(0); letter-spacing: .14em; } }
@keyframes gv-brillo { to { background-position: -40% 0, 0 0; } }
@keyframes gv-fade2 { to { opacity: 1; } }
#gv-intro .lema { position: relative; font-family: 'Inter', sans-serif; font-weight: 300; font-size: min(3.6vw, 15px); letter-spacing: .12em; color: #A8A8AD; opacity: 0; animation: gv-fade2 .7s ease 2s forwards; }
@media (prefers-reduced-motion: reduce) { #gv-intro { display: none !important; } .hero h1, .btn-w::after, .btn-p::after { animation: none; } }
