/* VIDRI Links. Mismos colores que la tienda (vidri.mitiendanube.com, ../vidri-definitivo.css) y tipografía Manrope. */
:root {
  --tinta: #09070d;          /* fondo de la tienda */
  --texto: #f2edf8;
  --lavanda: #cbb5ff;        /* acento de la tienda */
  --lavanda-clara: #e9ddff;
  --violeta: #b38cf0;
  --violeta-fuerte: #9b5cff;
  --gris: #bdb3c9;
  --borde: #3a2c47;
  --borde-fuerte: #5d4872;
  --tarjeta: linear-gradient(165deg, #18111f 0%, #0d0a12 85%);
  --boton: linear-gradient(110deg, #8038e4 0%, #6b08d5 55%, #5c0cb4 100%); /* botón del banner de la tienda */
  --brillo-tarjeta: radial-gradient(120% 140% at 100% 0%, rgba(110, 40, 200, .30), rgba(110, 40, 200, 0) 55%);
  --sombra: 0 8px 26px rgba(150, 100, 230, .25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--tinta); color: var(--texto);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; margin: 0; padding: 0; }

/* Fondo: arco de luz arriba y una lámina de vidrio inclinada 28° */
.fondo { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.arco {
  position: absolute; left: 50%; top: -62vmax; width: 120vmax; height: 90vmax; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(110, 40, 200, .38), rgba(110, 40, 200, .10) 60%, transparent);
}
.lamina {
  position: absolute; top: -30%; left: 58%; width: 34vmax; height: 170%;
  transform: rotate(28deg);
  background: linear-gradient(90deg, transparent, rgba(203, 181, 255, .06) 40%, rgba(203, 181, 255, .10) 50%, rgba(203, 181, 255, .06) 60%, transparent);
  border-left: 1px solid rgba(203, 181, 255, .07);
}

.pagina {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px; margin: 0 auto;
  padding: max(44px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
}

/* Cabecera */
.cabecera { text-align: center; margin-bottom: 30px; }
.logo { width: 168px; height: auto; margin: 0 auto 18px; }
.rol {
  display: inline-block; margin: 0 0 12px; padding: 6px 13px; border-radius: 99px;
  font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--lavanda);
  background: rgba(203, 181, 255, .10); border: 1px solid rgba(203, 181, 255, .25);
}
.bio { margin: 0 auto; max-width: 31ch; text-wrap: balance; font-size: 16px; line-height: 1.5; color: var(--gris); }

/* Enlaces */
.enlaces { display: grid; gap: 12px; }
.enlace {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 68px; padding: 12px 16px 12px 14px; border-radius: 18px; overflow: hidden;
  background: var(--brillo-tarjeta), var(--tarjeta); border: 1px solid var(--borde);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s;
}
/* Reflejo que cruza el vidrio al pasar el mouse */
.enlace::after {
  content: ""; position: absolute; top: -50%; left: -40%; width: 26%; height: 200%;
  transform: rotate(28deg) translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
  pointer-events: none;
}
a.enlace:hover { border-color: var(--borde-fuerte); box-shadow: var(--sombra); transform: translateY(-2px); }
a.enlace:hover::after { transition: transform .8s cubic-bezier(.2, .8, .2, 1); transform: rotate(28deg) translateX(620%); }
a.enlace:active { transform: scale(.985); }
a.enlace:focus-visible, .servicios a:focus-visible { outline: 2px solid var(--lavanda-clara); outline-offset: 3px; }

.ico {
  flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 13px;
  fill: none; stroke: var(--lavanda); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(203, 181, 255, .10); border: 1px solid rgba(203, 181, 255, .18);
}
.txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.txt strong { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.txt small { font-size: 13.5px; line-height: 1.35; color: var(--gris); }
.flecha {
  flex: none; width: 18px; height: 18px; fill: none; stroke: var(--lavanda); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
a.enlace:hover .flecha { transform: translateX(3px); }

/* Enlace principal: el panel más violeta, con el degradado del botón de la tienda */
.enlace.principal {
  min-height: 76px;
  background: var(--boton);
  border-color: rgba(203, 181, 255, .35);
  color: #fff;
  box-shadow: 0 10px 30px rgba(107, 8, 213, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.enlace.principal .ico { stroke: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); }
.enlace.principal .txt strong { font-size: 17px; font-weight: 800; }
.enlace.principal .txt small { color: #e9ddff; }
.enlace.principal .flecha { stroke: #fff; }
a.enlace.principal:hover { border-color: rgba(233, 221, 255, .6); box-shadow: 0 14px 38px rgba(107, 8, 213, .6), inset 0 1px 0 rgba(255, 255, 255, .25); filter: brightness(1.08); }
.enlace.principal::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); }

/* Pendiente: visible pero sin acción */
.enlace.pendiente { opacity: .55; cursor: default; background: #0d0a12; border-style: dashed; }
.enlace.pendiente .ico { stroke: var(--gris); background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.etiqueta {
  white-space: nowrap;
  flex: none; font-size: 11.5px; font-weight: 700; color: var(--gris);
  padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(189, 183, 204, .3);
}

/* Servicios */
.servicios { margin-top: 34px; }
.servicios h2 { margin: 0 0 12px 4px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--lavanda); }
.servicios ul { border-radius: 18px; border: 1px solid var(--borde); background: var(--brillo-tarjeta), linear-gradient(170deg, #140f1b 0%, #0c0a10 70%); overflow: hidden; }
.servicios li + li { border-top: 1px solid var(--borde); }
.servicios li { border-left: 3px solid transparent; transition: border-color .25s; }
.servicios li:hover { border-left-color: var(--violeta); }
.servicios a { display: grid; gap: 3px; padding: 15px 18px 15px 15px; transition: background-color .25s; }
.servicios a:hover { background: rgba(203, 181, 255, .06); }
.servicios strong { font-size: 15px; font-weight: 700; }
.servicios span { font-size: 13.5px; line-height: 1.45; color: var(--gris); }

/* Pie */
.pie { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 38px; color: var(--gris); font-size: 13px; }
.pie p { margin: 0; }
.pie img { border-radius: 6px; }

/* Entrada: una sola secuencia al cargar */
@media (prefers-reduced-motion: no-preference) {
  .cabecera > *, .enlaces > li, .servicios, .pie { animation: entra .7s cubic-bezier(.2, .8, .2, 1) both; }
  .cabecera > :nth-child(2) { animation-delay: .06s; }
  .cabecera > :nth-child(3) { animation-delay: .12s; }
  .enlaces > li:nth-child(1) { animation-delay: .18s; }
  .enlaces > li:nth-child(2) { animation-delay: .23s; }
  .enlaces > li:nth-child(3) { animation-delay: .28s; }
  .enlaces > li:nth-child(4) { animation-delay: .33s; }
  .enlaces > li:nth-child(5) { animation-delay: .38s; }
  .enlaces > li:nth-child(6) { animation-delay: .43s; }
  .servicios { animation-delay: .5s; }
  .pie { animation-delay: .56s; }
  .lamina { animation: brillo 9s ease-in-out infinite alternate; }
}
@keyframes entra { from { opacity: 0; transform: translateY(10px); } }
@keyframes brillo { from { opacity: .6; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

@media (min-width: 700px) {
  .pagina { padding-top: 72px; }
  .logo { width: 188px; }
}
