/* Alvin Plugins — estilos de la tienda. Colores del logo: azul #2F6BFF, azul claro #7FA4FF, crema #F8F2E8, amarillo #FFC94D, azul marino. */
:root {
  --navy: #0B1426; --navy2: #0F1B33; --card: #13213D; --card2: #182a4c; --line: rgba(127, 164, 255, .16);
  --blue: #2F6BFF; --blue2: #7FA4FF; --cream: #F8F2E8; --muted: rgba(248, 242, 232, .68); --faint: rgba(248, 242, 232, .42); --yellow: #FFC94D;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 20px; --max: 1120px; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--cream); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); }
.lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.eyebrow { font: 600 12px var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--blue2); margin: 0 0 10px; }
.accent { color: var(--blue2); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15px var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(47, 107, 255, .35); }
.btn-main:hover { background: #3d78ff; }
.btn-ghost { background: rgba(127, 164, 255, .1); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(127, 164, 255, .18); }
[data-pronto]::after { content: "· " attr(data-pronto); font-size: 12px; font-weight: 500; opacity: .75; }

/* navegación */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 20, 38, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1; }
.logo b { font: 700 21px var(--display); letter-spacing: -.02em; }
.logo i { font: 500 9.5px var(--display); font-style: normal; letter-spacing: .34em; color: var(--blue2); margin-top: 3px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--cream); }
.lang { background: rgba(127, 164, 255, .1); color: var(--cream); border: 0; border-radius: 999px; padding: 7px 12px; font: 600 13px var(--font); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.nav-simple { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.nav-simple a { color: var(--muted); text-decoration: none; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--cream); width: 44px; height: 44px; border-radius: 10px; }
.menu-btn svg { width: 24px; height: 24px; }

/* portada */
.hero { padding: clamp(50px, 9vw, 110px) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(47, 107, 255, .28), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); }
.hero .lead { margin: 20px 0 0; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.badge-dog { justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: 0 30px 80px rgba(47, 107, 255, .35), inset 0 0 0 10px rgba(255, 255, 255, .06); }
.badge-dog img { width: 82%; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pills span { font-size: 13px; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: rgba(127, 164, 255, .08); box-shadow: inset 0 0 0 1px var(--line); }

/* secciones */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head .lead { margin: 12px 0 0; }
.alt { background: var(--navy2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* catálogo */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); border-color: rgba(127, 164, 255, .4); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.product .cover { aspect-ratio: 16 / 9; background: #070d1a center / cover no-repeat; position: relative; }
.product .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(19, 33, 61, .95)); }
.product .status { position: absolute; top: 14px; left: 14px; z-index: 1; font: 600 12px var(--font); padding: 4px 10px; border-radius: 999px; background: rgba(11, 20, 38, .8); backdrop-filter: blur(6px); }
.product .status.ok { color: #8be0a4; } .product .status.soon { color: var(--yellow); }
.product .body { padding: 0 22px 22px; margin-top: -34px; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .head { display: flex; align-items: center; gap: 12px; }
.product .head img { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.product h3 { font-size: 22px; }
.product p { color: var(--muted); margin: 0; font-size: 15px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: 12px; color: var(--blue2); background: rgba(127, 164, 255, .1); padding: 3px 9px; border-radius: 999px; }
.product .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.product .price { font: 700 20px var(--display); }
.product .price small { font: 500 12px var(--font); color: var(--faint); margin-left: 6px; }
.product .go { font-weight: 600; color: var(--blue2); }
/* la tarjeta "más programas en camino" */
.coming { background: transparent; border: 1px dashed rgba(127, 164, 255, .35); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 280px; }
.coming h3 { font-size: 22px; }
.coming p { color: var(--muted); margin: 0; }
.coming .btn { align-self: flex-start; margin-top: 6px; }

/* por qué */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.why svg { width: 30px; height: 30px; color: var(--yellow); margin-bottom: 10px; }
.why b { display: block; font: 700 17px var(--display); }
.why span { color: var(--muted); font-size: 14px; }

/* ayuda */
.help { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, var(--blue), #1c4fd8); border-radius: 24px; padding: clamp(26px, 4vw, 40px); }
.help h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; }
.help p { margin: 6px 0 0; color: rgba(255, 255, 255, .85); }
.help .btn-ghost { background: rgba(255, 255, 255, .16); box-shadow: none; color: #fff; }

/* pie */
footer { border-top: 1px solid var(--line); padding: 40px 0 50px; color: var(--faint); font-size: 14px; }
footer .wrap { display: grid; gap: 14px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--cream); }

/* páginas de texto (soporte, legal) */
.doc { max-width: 800px; margin: 0 auto; padding: 50px 0 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 10px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--cream); }
.doc .box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin: 22px 0; }
.doc details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; margin-bottom: 10px; }
.doc summary { cursor: pointer; padding: 14px 0; font: 600 16px var(--display); }
.doc code { background: rgba(127, 164, 255, .12); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* celular */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .badge-dog { grid-row: 1; width: 180px; }
  .why { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .menu-btn { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; z-index: 2; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); }
  .nav-links.open { display: flex; }
  .nav:has(.nav-links.open) { backdrop-filter: none; background: var(--navy); }
  .nav-links a { padding: 12px 4px; }
  .nav-links .lang { align-self: flex-start; margin-top: 6px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover, .product:hover { transform: none; } }
