/* wapazonline.com — salón nocturno: terciopelo azul, oro champán, rubí y franja tricolor */

:root {
  --noche: #060c2e;
  --noche-2: #0a1650;
  --velvet: #0f2275;
  --velvet-2: #16309a;
  --velvet-3: #2146c2;
  --panel: rgba(6, 14, 64, 0.58);
  --panel-claro: rgba(255, 255, 255, 0.055);
  --filo: rgba(246, 215, 127, 0.2);
  --filo-2: rgba(246, 215, 127, 0.42);
  --texto: #ecf0ff;
  --suave: #aebbef;
  --oro: #e8b84a;
  --oro-claro: #f8dc86;
  --oro-hondo: #b98a1d;
  --amarillo: #ffd400;
  --rubi: #c4163a;
  --rubi-claro: #ee4466;
  --rubi-hondo: #8f0f2a;
  --tinta: #130e02;
  --blanco: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --ancho: 1180px;
  --lateral: clamp(1rem, 4vw, 2.4rem);
  --alto-cab: 70px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--alto-cab) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

body { margin: 0; background: var(--noche-2); color: var(--texto); font-family: var(--sans); font-size: 1.05rem; line-height: 1.72; }
body.wz-quieto { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
strong { color: var(--oro-claro); font-weight: 700; }

:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }
section:focus { outline: none; }

.wz-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wz-salto { position: absolute; top: -90px; left: 1rem; z-index: 999; padding: 0.7rem 1rem; border-radius: 8px; background: var(--oro); color: var(--tinta); font-weight: 700; text-decoration: none; }
.wz-salto:focus { top: 1rem; }

.wz-ancho { width: min(100% - 2 * var(--lateral), var(--ancho)); margin-inline: auto; }

/* franja tricolor */
.wz-bandera { display: flex; height: 5px; }
.wz-bandera i { display: block; }
.wz-bandera i:nth-child(1) { flex: 2; background: var(--amarillo); }
.wz-bandera i:nth-child(2) { flex: 1; background: #1a3fd1; }
.wz-bandera i:nth-child(3) { flex: 1; background: var(--rubi); }

/* ---------- botones ---------- */

.wz-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: 6px 18px 6px 18px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.wz-boton:hover { transform: translateY(-2px); filter: brightness(1.07); }
.wz-boton:active { transform: translateY(0); filter: brightness(0.95); }
.wz-boton--oro { background: linear-gradient(135deg, var(--oro-claro), var(--oro) 55%, var(--oro-hondo)); color: var(--tinta); box-shadow: 0 10px 22px -12px rgba(232, 184, 74, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.wz-boton--rubi { background: linear-gradient(135deg, var(--rubi-claro), var(--rubi) 55%, var(--rubi-hondo)); color: var(--blanco); box-shadow: 0 10px 22px -12px rgba(238, 68, 102, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.wz-boton--grande { min-height: 56px; padding: 0.85rem 2rem; font-size: 1.05rem; }
.wz-boton--ancho { width: 100%; }

/* ---------- cabecera ---------- */

.wz-cabecera { position: sticky; top: 0; z-index: 300; background: rgba(6, 12, 46, 0.92); backdrop-filter: blur(12px); }
.wz-cabecera__fila { display: flex; align-items: center; gap: 1.1rem; height: calc(var(--alto-cab) - 5px); }

.wz-logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--blanco); text-decoration: none; flex-shrink: 0; }
.wz-logo__moneda { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--oro-claro), var(--oro) 50%, var(--oro-hondo)); color: var(--tinta); font-family: var(--serif); font-size: 1.15rem; font-weight: 800; box-shadow: 0 0 0 3px rgba(246, 215, 127, 0.28); }
.wz-logo__texto { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.wz-logo__pais { color: var(--oro); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }

.wz-menu { margin-left: auto; }
.wz-menu ul { display: flex; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.wz-menu__a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; color: var(--suave); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: color 0.2s ease; }
.wz-menu__a::before { content: ""; position: absolute; left: 50%; bottom: 5px; width: 6px; height: 6px; margin-left: -3px; background: var(--oro); transform: rotate(45deg) scale(0); transition: transform 0.2s ease; }
.wz-menu__a:hover,
.wz-menu__a[aria-current="true"] { color: var(--oro-claro); }
.wz-menu__a:hover::before,
.wz-menu__a[aria-current="true"]::before { transform: rotate(45deg) scale(1); }
.wz-cabecera__cta { min-height: 44px; padding: 0.5rem 1.2rem; font-size: 0.9rem; }

.wz-abrir { display: none; align-items: center; gap: 0.6rem; min-height: 46px; padding: 0 1rem; border: 1px solid var(--filo-2); border-radius: 6px 14px 6px 14px; background: transparent; color: var(--oro-claro); font-family: var(--sans); font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.wz-abrir__marca { width: 16px; height: 16px; background: var(--oro); transform: rotate(45deg); box-shadow: 0 0 0 3px rgba(246, 215, 127, 0.25); }

/* diálogo del menú */
.wz-velo { position: fixed; inset: 0; z-index: 600; display: grid; place-items: center; padding: 1rem; background: rgba(2, 5, 24, 0.82); backdrop-filter: blur(5px); animation: wz-vela 0.2s ease; }
.wz-velo[hidden] { display: none; }
@keyframes wz-vela { from { opacity: 0; } to { opacity: 1; } }
.wz-dialogo { width: min(100%, 520px); max-height: calc(100vh - 2rem); overflow-y: auto; padding: 1.2rem 1.2rem 1.4rem; border-radius: 22px; background: linear-gradient(170deg, var(--velvet-2), var(--noche)); border: 1px solid var(--filo-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); animation: wz-sube 0.24s ease; }
@keyframes wz-sube { from { transform: translateY(16px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.wz-dialogo:focus { outline: none; }
.wz-dialogo__cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.wz-dialogo__t { margin: 0; color: var(--oro-claro); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.wz-dialogo__x { width: 44px; height: 44px; border: 1px solid var(--filo-2); border-radius: 50%; background: transparent; color: var(--blanco); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.wz-dialogo__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.wz-dialogo__a { display: flex; align-items: center; min-height: 50px; padding: 0.4rem 0.9rem; border-radius: 12px; background: var(--panel-claro); border: 1px solid var(--filo); color: var(--texto); font-weight: 600; text-decoration: none; }
.wz-dialogo__a:hover { border-color: var(--oro); color: var(--oro-claro); }
.wz-dialogo__ctas { display: grid; gap: 0.7rem; margin-top: 1.1rem; }

/* puntos de recorrido */
.wz-puntos { position: fixed; right: 14px; top: 50%; z-index: 200; transform: translateY(-50%); display: none; }
.wz-puntos ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.wz-puntos__a { position: relative; display: block; width: 22px; height: 22px; }
.wz-puntos__a::before { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; background: rgba(246, 215, 127, 0.4); transform: rotate(45deg); transition: background 0.2s ease, transform 0.2s ease; }
.wz-puntos__a:hover::before,
.wz-puntos__a[aria-current="true"]::before { background: var(--oro); transform: rotate(45deg) scale(1.5); }
.wz-puntos__tip { position: absolute; right: 26px; top: 50%; padding: 0.15rem 0.6rem; border-radius: 6px; background: var(--noche); border: 1px solid var(--filo-2); color: var(--oro-claro); font-size: 0.78rem; font-weight: 700; white-space: nowrap; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity 0.15s ease; }
.wz-puntos__a:hover .wz-puntos__tip,
.wz-puntos__a:focus-visible .wz-puntos__tip { opacity: 1; }
@media (min-width: 1360px) { .wz-puntos { display: block; } }

/* ---------- portada ---------- */

.wz-portada { padding: clamp(2rem, 5vw, 3.8rem) 0 clamp(2.4rem, 5vw, 3.6rem); background: radial-gradient(800px 460px at 85% 0%, rgba(33, 70, 194, 0.85), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(196, 22, 58, 0.22), transparent 70%), linear-gradient(180deg, var(--velvet), var(--noche-2)); }
.wz-portada__rej { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.wz-portada__marca { display: inline-block; margin-bottom: 1rem; padding: 0.25rem 0.9rem; border: 1px solid var(--oro); border-radius: 999px; color: var(--oro-claro); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.wz-portada h1 { margin: 0 0 1.1rem; color: var(--blanco); font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 800; line-height: 1.07; letter-spacing: -0.02em; text-wrap: balance; }
.wz-portada__intro { color: #d5ddff; }
.wz-tres { display: grid; gap: 0.5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.wz-tres li { position: relative; padding: 0.7rem 0.9rem 0.7rem 2.5rem; border-radius: 12px; background: var(--panel-claro); border: 1px solid var(--filo); line-height: 1.5; }
.wz-tres li::before { content: ""; position: absolute; left: 0.95rem; top: 1.15rem; width: 0.7rem; height: 0.7rem; background: var(--oro); transform: rotate(45deg); }
.wz-portada__botones { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; }

.wz-arco { position: relative; margin: 0; padding: 10px; border-radius: 320px 320px 28px 28px; background: linear-gradient(180deg, var(--amarillo) 0 50%, #1a3fd1 50% 75%, var(--rubi) 75% 100%); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.85); }
.wz-arco img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 52% 30%; border-radius: 310px 310px 20px 20px; }

.wz-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: clamp(1.8rem, 4vw, 2.6rem) 0 0; padding: 0; list-style: none; }
.wz-cifras li { display: grid; gap: 0.15rem; padding: 1rem 1.2rem; border-radius: 6px 20px 6px 20px; background: var(--panel); border: 1px solid var(--filo-2); }
.wz-cifras b { color: var(--oro-claro); font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.1; }
.wz-cifras span { color: var(--suave); font-size: 0.92rem; font-weight: 600; }

/* ---------- bloques ---------- */

.wz-bloque { padding: clamp(2.6rem, 6vw, 4.2rem) 0; background: linear-gradient(180deg, #0c1c66, #0a1856); }
.wz-bloque--noche { background: linear-gradient(180deg, #112a8c, #0c1f70); border-block: 1px solid var(--filo); }
.wz-bloque__cab { display: grid; justify-items: center; margin-bottom: 1.8rem; text-align: center; }
.wz-rombo { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 1rem; border: 2px solid var(--oro); transform: rotate(45deg); box-shadow: 0 0 0 5px rgba(246, 215, 127, 0.12); }
.wz-rombo b { transform: rotate(-45deg); color: var(--oro-claro); font-family: var(--serif); font-size: 1.15rem; font-weight: 800; }
.wz-bloque__eti { margin-bottom: 0.4rem; color: var(--rubi-claro); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.wz-bloque__cab h2 { margin: 0; max-width: 780px; color: var(--blanco); font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.015em; text-wrap: balance; }
.wz-adorno { display: block; width: 140px; height: 2px; margin-top: 1rem; background: linear-gradient(90deg, transparent, var(--oro), transparent); }

.wz-tarjeta { max-width: 940px; margin-inline: auto; padding: clamp(1.2rem, 3.2vw, 2.2rem); border-radius: 8px 28px 8px 28px; background: var(--panel); border: 1px solid var(--filo); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9); }
.wz-tarjeta > :last-child { margin-bottom: 0; }

.wz-apartado { margin: 1.8rem 0; }
.wz-apartado:first-child { margin-top: 0; }
.wz-apartado:last-child { margin-bottom: 0; }
.wz-apartado h3 { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.7rem; color: var(--oro-claro); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; line-height: 1.25; }
.wz-apartado h3::before { content: ""; flex-shrink: 0; width: 11px; height: 11px; background: var(--rubi-claro); transform: rotate(45deg); }
.wz-apartado h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--filo-2), transparent); }
.wz-apartado > :last-child { margin-bottom: 0; }

.wz-llamado { margin: 1.8rem 0 0; text-align: center; }

.wz-vinetas { display: grid; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.wz-vinetas li { position: relative; padding-left: 1.7rem; line-height: 1.55; }
.wz-vinetas li::before { content: ""; position: absolute; left: 0.2rem; top: 0.5em; width: 0.6rem; height: 0.6rem; background: var(--oro); transform: rotate(45deg); }

.wz-escalera { display: grid; gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: wz-e; }
.wz-escalera li { position: relative; padding: 0.65rem 0.9rem 0.65rem 3.3rem; border-radius: 6px 14px 6px 14px; background: rgba(6, 12, 46, 0.6); border: 1px solid var(--filo); counter-increment: wz-e; line-height: 1.5; }
.wz-escalera li::before { content: counter(wz-e); position: absolute; left: 0.7rem; top: 50%; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-top: -0.95rem; border-radius: 50%; background: var(--oro); color: var(--tinta); font-family: var(--serif); font-size: 1rem; font-weight: 800; }

.wz-tabla { margin: 1rem 0 1.2rem; overflow-x: auto; border-radius: 6px 18px 6px 18px; border: 1px solid var(--filo-2); background: rgba(6, 12, 46, 0.7); -webkit-overflow-scrolling: touch; }
.wz-tabla table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.wz-tabla--ancho table { min-width: 540px; }
.wz-tabla thead th { padding: 0.85rem 1rem; background: linear-gradient(180deg, var(--velvet-2), var(--velvet)); border-bottom: 2px solid var(--oro); color: var(--oro-claro); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; }
.wz-tabla tbody th,
.wz-tabla tbody td,
.wz-tabla tfoot th,
.wz-tabla tfoot td { padding: 0.7rem 1rem; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.wz-tabla tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.04); }
.wz-tabla tbody tr + tr > * { border-top: 1px solid var(--filo); }
.wz-tabla tbody th { color: var(--blanco); font-weight: 700; }
.wz-tabla tbody tr:hover { background: rgba(196, 22, 58, 0.16); }
.wz-tabla tfoot { background: linear-gradient(90deg, var(--rubi-hondo), var(--rubi)); }
.wz-tabla tfoot th,
.wz-tabla tfoot td { color: var(--blanco); font-weight: 800; }

.wz-dudas { display: grid; gap: 0.7rem; }
.wz-dudas__item { border-radius: 6px 16px 6px 16px; background: rgba(6, 12, 46, 0.6); border: 1px solid var(--filo); transition: border-color 0.2s ease; }
.wz-dudas__item[open] { border-color: var(--oro); }
.wz-dudas__item summary { display: flex; align-items: center; gap: 0.9rem; min-height: 62px; padding: 0.8rem 1rem; list-style: none; cursor: pointer; }
.wz-dudas__item summary::-webkit-details-marker { display: none; }
.wz-dudas__item summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; border: 1px solid var(--oro); color: var(--oro-claro); font-size: 1.4rem; line-height: 1; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.wz-dudas__item[open] summary::after { transform: rotate(45deg); background: var(--oro); color: var(--tinta); }
.wz-dudas__n { flex-shrink: 0; color: var(--rubi-claro); font-family: var(--serif); font-size: 1.15rem; font-weight: 800; }
.wz-dudas__q { color: var(--blanco); font-family: var(--serif); font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.wz-dudas__r { margin: 0; padding: 0 1rem 1.1rem; color: var(--texto); }

/* ---------- pie ---------- */

.wz-pie { background: var(--noche); }
.wz-bandera--pie { height: 6px; }
.wz-pie__rej { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 2rem; align-items: start; padding: 2.8rem 0 1.6rem; }
.wz-pie__edad { display: flex; align-items: center; gap: 0.6rem; margin: 1rem 0 0; color: var(--suave); font-size: 0.95rem; }
.wz-pie__18 { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rubi); color: var(--blanco); font-family: var(--serif); font-size: 0.9rem; font-weight: 800; }
.wz-pie__lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.4rem; margin: 0; padding: 0; list-style: none; }
.wz-pie__lista a { display: inline-flex; align-items: center; min-height: 40px; color: var(--suave); text-decoration: none; }
.wz-pie__lista a:hover { color: var(--oro-claro); }
.wz-pie__ctas { display: grid; gap: 0.9rem; justify-items: start; }
.wz-pie__copy { margin-top: 0; margin-bottom: 0; padding: 1rem 0 1.6rem; border-top: 1px solid var(--filo); color: var(--suave); font-size: 0.88rem; }

.wz-subir { position: fixed; right: 1rem; bottom: 1rem; z-index: 250; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 6px 16px 6px 16px; background: linear-gradient(135deg, var(--oro-claro), var(--oro)); color: var(--tinta); font-size: 1.3rem; font-weight: 800; text-decoration: none; box-shadow: 0 14px 22px -10px rgba(0, 0, 0, 0.7); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s; }
.wz-subir.wz-subir--ver { opacity: 1; visibility: visible; }

/* ---------- adaptación ---------- */

@media (max-width: 1100px) {
  .wz-menu { display: none; }
  .wz-abrir { display: inline-flex; }
  .wz-cabecera__cta { margin-left: auto; }
}

@media (max-width: 900px) {
  .wz-portada__rej { grid-template-columns: minmax(0, 1fr); }
  .wz-arco { order: -1; max-width: 460px; margin-inline: auto; }
  .wz-pie__rej { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --alto-cab: 62px; }
  body { font-size: 1.02rem; }
  .wz-logo__pais { display: none; }
  .wz-abrir__txt { display: none; }
  .wz-abrir { padding: 0 0.85rem; }
  .wz-cabecera__cta { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
  .wz-portada__botones .wz-boton,
  .wz-llamado .wz-boton { width: 100%; }
  .wz-cifras { grid-template-columns: minmax(0, 1fr); }
  .wz-tarjeta { padding: 1rem 0.9rem; border-radius: 6px 20px 6px 20px; }
  .wz-dialogo__lista { grid-template-columns: minmax(0, 1fr); }
  .wz-pie__lista { grid-template-columns: minmax(0, 1fr); }
}
