/* Fideliza Ya! — web pública (inicio, soporte, privacidad, términos). Sin JavaScript.
   Portada con los neones del acrílico; el resto sobrio, igual que el panel. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #111418;
  --soft: #3d4450;
  --muted: #6b7280;
  --bg: #f5f6f8;
  --line: #e6e8ec;
  --accent: #0f766e;
  --night: #06070b;
  --neon:
    radial-gradient(70% 90% at 0% 0%, rgba(67, 56, 202, .85), transparent 60%),
    radial-gradient(50% 80% at 105% 40%, rgba(13, 148, 136, .7), transparent 60%),
    radial-gradient(55% 70% at 50% 120%, rgba(147, 51, 234, .6), transparent 60%),
    radial-gradient(35% 50% at 100% 105%, rgba(132, 204, 22, .45), transparent 60%),
    #06070b;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---- barra ---- */
.nav { position: sticky; top: 0; z-index: 10; color: #fff; background: rgba(6, 7, 11, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 2px solid #fff; border-radius: 50%;
  font-weight: 900; font-size: .9rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: #d9dce6; text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav-links a:hover { color: #fff; }
.nav-links a.btn-light, .nav-links a.btn-light:hover { color: var(--night); }
@media (max-width: 720px) { .nav-links a.hide-sm { display: none; } }

/* ---- botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background .15s ease; }
.btn-light { background: #fff; color: var(--night); }
.btn-light:hover { background: #e9ebef; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2f37; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .9rem; }

/* ---- portada ---- */
.hero { color: #fff; background: var(--neon); }
.hero .wrap { display: grid; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; padding-top: 96px; padding-bottom: 112px; } }
.eyebrow { display: inline-block; padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); line-height: 1.02; font-weight: 900; font-stretch: 115%;
  letter-spacing: -.02em; margin: 18px 0; text-transform: uppercase; }
.hero p.lead { font-size: 1.15rem; color: #e5e7eb; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.channels span { padding: 5px 16px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; font-size: .85rem; font-weight: 600; }

/* tarjeta de ejemplo (como se ve en Wallet) */
.demo-card { justify-self: center; width: min(360px, 100%); border-radius: 22px; padding: 20px; color: #fff;
  background: #4a2c1d; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .8); transform: rotate(-3deg); }
.demo-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.demo-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #4a2c1d; font-weight: 900; }
.demo-title { font-size: 1.35rem; font-weight: 800; margin: 14px 0 12px; }
.demo-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.demo-stamps i { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }
.demo-stamps i.on { background: #fff; border-color: #fff; box-shadow: inset 0 0 0 7px #fff, inset 0 0 0 30px #c08457; }
.demo-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; }
.demo-foot small { display: block; opacity: .8; font-size: .78rem; }
.demo-foot strong { font-size: 1.1rem; }
.demo-qr { width: 58px; height: 58px; border-radius: 8px; border: 6px solid #fff;
  background: repeating-linear-gradient(90deg, #111 0 5px, #fff 5px 10px), #fff; }

/* ---- secciones ---- */
section.block { padding: 80px 0; }
section.alt { background: var(--bg); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.kicker { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.two { grid-template-columns: repeat(2, 1fr); } }
.tile { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tile h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.tile p { margin: 0; color: var(--soft); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; }
.icon { font-size: 1.5rem; line-height: 1; }

.band { color: #fff; background: var(--neon); border-radius: 24px; padding: 48px 28px; text-align: center; }
.band h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 10px; }
.band p { color: #e5e7eb; margin: 0 0 24px; }
.band .cta { justify-content: center; }

/* ---- páginas de texto (soporte, privacidad, términos) ---- */
.page-hero { color: #fff; background: var(--neon); padding: 56px 0 48px; }
.page-hero h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 4.5vw, 2.6rem); letter-spacing: -.015em; }
.page-hero p { margin: 0; color: #e5e7eb; }
.prose { max-width: 760px; padding: 48px 20px 72px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.prose p, .prose li { color: var(--soft); }
.prose .updated { color: var(--muted); font-size: .9rem; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details p { margin: 10px 0 0; }
.contact { display: grid; gap: 14px; margin: 24px 0; }
@media (min-width: 720px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact a.tile { text-decoration: none; color: var(--ink); }
.contact a.tile:hover { border-color: #b9bec8; }
.contact small { display: block; color: var(--muted); }

/* ---- pie ---- */
footer.site { background: var(--night); color: #9ca3af; padding: 40px 0; font-size: .92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.site a { color: #d9dce6; text-decoration: none; }
footer.site a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
