/* =========================================================
   JACNEX STUDIO · sitio de las apps (mismo diseño que la tienda)
   Fondo gris claro, tarjetas blancas, azul de marca, Figtree.
   ========================================================= */

:root {
  --bg: #F3F5F9;
  --card: #fff;
  --ink: #0A1633;
  --ink2: #36415C;
  --mu: #66708A;
  --line: #E2E6EE;
  --blue: #1468FF;
  --blue-d: #0B4FD8;
  --sky: #E8F0FF;
  --navy: #0A1633;
  --sale: #FF4D2E;
  --wa: #1FAF5A;
  --violet: #6D4AFF;

  --f: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 3vw, 32px);
  --r: 18px;
  --eo: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid rgba(20, 104, 255, .45); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 20px; height: 20px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 12px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15.5px; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 18px -10px rgba(20,104,255,.8);
  transition: background-color .2s, color .2s, transform .2s var(--eo), box-shadow .2s;
}
.btn:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -12px rgba(0,0,0,.5); }
.btn--white:hover { background: #fff; color: var(--blue); }
.btn--ghost { background: rgba(255,255,255,.14); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.24); }
.btn--soft { background: var(--sky); color: var(--blue); box-shadow: none; }
.btn--soft:hover { background: #D9E6FF; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--wa { background: var(--wa); box-shadow: 0 8px 18px -10px rgba(31,175,90,.8); }
.btn--wa:hover { background: #179A4D; }
.btn--sm { height: 42px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn--off { background: var(--bg); color: var(--mu); box-shadow: none; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-weight: 700; font-size: 13px; }
.pill--sky { background: var(--sky); color: var(--blue); }
.pill--ok { background: #E3F7EC; color: #15803D; }
.pill--pronto { background: #FFF1E0; color: #B25E00; }

/* ---------- Barra superior y cabecera ---------- */
.top { background: var(--navy); color: rgba(255,255,255,.85); font-size: 13px; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.top__msgs { display: flex; gap: 26px; }
.top__msgs span { display: flex; align-items: center; gap: 7px; }
.top__msgs svg { width: 15px; height: 15px; color: #7FB0FF; }
.top__tienda { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.top__tienda svg { width: 14px; height: 14px; }
.top__tienda:hover { color: #7FB0FF; }

.hd { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.hd__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 19px; letter-spacing: .02em; line-height: 1.1; flex: none; }
.logo svg { width: 32px; height: 35px; color: var(--blue); flex: none; }
.logo small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .4em; color: var(--mu); }
.hd__nav { display: flex; gap: 4px; }
.hd__nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink2); transition: background-color .2s; }
.hd__nav a:hover { background: var(--bg); }
.hd__nav a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.hd__wa { margin-left: auto; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.hd__wa i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #E7F8EE; color: #128C4B; transition: background-color .2s; }
.hd__wa:hover i { background: #D2F2DE; }
.hd__wa small { display: block; font-weight: 500; color: var(--mu); font-size: 12px; line-height: 1.2; }
.cats { border-top: 1px solid var(--line); background: #fff; }
.cats .wrap { display: flex; gap: 6px; height: 50px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.cats a { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink2); white-space: nowrap; transition: background-color .2s, color .2s; }
.cats a:hover { background: var(--bg); }
.cats a[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cats a i { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--c); }
.cats a[aria-pressed="true"] i { box-shadow: 0 0 0 1.5px #fff; }
.cats .sep { flex: 1; min-width: 12px; }
.cats .ia { color: var(--violet); }
.cats .ia small { padding: 2px 8px; border-radius: 999px; background: #EFEAFF; font-size: 12px; font-weight: 700; }
@media (max-width: 1080px) { .hd__nav { display: none; } }
@media (max-width: 860px) { .top__msgs span + span { display: none; } .hd__wa small { display: none; } }
@media (max-width: 560px) {
  .top__msgs { display: none; }
  .top .wrap { justify-content: center; }
  .hd__wa span { display: none; }
  .hd__in { gap: 12px; }
  .hd__in .btn { height: 42px; padding: 0 14px; font-size: 14.5px; }
}
@media (max-width: 400px) { .hd__in .btn span { display: none; } }

/* ---------- Portada ---------- */
.hero { padding: 24px 0 8px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 16px; }
.portada { position: relative; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 28px; min-height: 520px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; overflow: hidden; color: #fff; background: linear-gradient(120deg, #1468FF, #0B4FD8); }
.portada::before { content: ""; position: absolute; inset: 0; opacity: .1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17Z' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 56px 64px; -webkit-mask: linear-gradient(90deg, transparent 30%, #000); mask: linear-gradient(90deg, transparent 30%, #000); }
.portada > * { position: relative; }
.portada h1 { margin: 16px 0 12px; font-size: clamp(32px, 3.6vw, 54px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }
.portada p { max-width: 27em; opacity: .88; font-size: 16.5px; }
.portada__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.portada__nota { margin-top: 14px; font-size: 13.5px; opacity: .75; }
.portada figure { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(5,20,70,.6); transform: rotate(1.5deg); }
.portada figure img { width: 100%; height: auto; }
.side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.promo { position: relative; border-radius: 24px; padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; transition: transform .35s var(--eo); }
.promo:hover { transform: translateY(-3px); }
.promo h3 { font-size: 24px; font-weight: 850; letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 6px; max-width: 10em; }
.promo p { font-size: 14.5px; opacity: .8; max-width: 17em; }
.promo b { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.promo b svg { width: 16px; height: 16px; transition: transform .3s; }
.promo:hover b svg { transform: translateX(4px); }
.promo--ia { background: linear-gradient(140deg, #3B22B8, #6D4AFF 60%, #8A4DFF); color: #fff; }
.promo--white { background: #fff; }
.promo--white .pill { background: #E7F8EE; color: #128C4B; }
.promo--white b { color: #128C4B; }
.promo__ico { position: absolute; right: -14px; bottom: -14px; width: 130px; height: 130px; transform: rotate(-10deg); transition: transform .6s var(--eo); }
.promo:hover .promo__ico { transform: rotate(-2deg) scale(1.05); }
.promo__ico--wa { color: #D2F2DE; }
@media (max-width: 1080px) { .portada { grid-template-columns: 1fr; min-height: 0; } .portada figure { transform: none; } }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .promo { min-height: 200px; }
}
@media (max-width: 560px) { .side { grid-template-columns: 1fr; } }

/* ---------- Beneficios ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.perk { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: #fff; }
.perk i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--blue); }
.perk b { display: block; font-size: 15.5px; }
.perk span { font-size: 13.5px; color: var(--mu); }
@media (max-width: 980px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
.sec { padding: clamp(56px, 7vw, 88px) 0 0; }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.sh h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 850; letter-spacing: -.03em; line-height: 1.05; }
.sh p { color: var(--mu); }

/* ---------- Tarjetas de app ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: #fff; overflow: hidden; transition: transform .4s var(--eo), box-shadow .4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(10,22,51,.35); }
.card__vis { position: relative; height: 170px; display: grid; place-items: center; background: var(--tint, #EEF3FF); overflow: hidden; }
.card__vis img { width: 80px; height: 80px; transition: transform .6s var(--eo); filter: drop-shadow(0 14px 18px rgba(10,22,51,.18)); }
.card:hover .card__vis img { transform: scale(1.1) rotate(-4deg); }
.card--pronto .card__vis img { filter: grayscale(.25) drop-shadow(0 14px 18px rgba(10,22,51,.12)); opacity: .85; }
.lab { position: absolute; right: 14px; top: 14px; padding: 5px 10px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 12.5px; color: #15803D; }
.card--pronto .lab { color: #B25E00; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card__brand { font-size: 13px; font-weight: 600; color: var(--mu); }
.card h3 { margin: 2px 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.card h3 a:hover { color: var(--blue); }
.card__desc { font-size: 14px; color: var(--mu); line-height: 1.45; margin-bottom: 16px; }
.card__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card__acts .btn { padding: 0 10px; }
.grid .card[hidden] { display: none; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .grid { gap: 10px; }
  .card__vis { height: 120px; }
  .card__vis img { width: 58px; height: 58px; }
  .card__body { padding: 14px; }
  .card h3 { font-size: 17px; }
  .card__desc { font-size: 13px; }
  .card__acts { grid-template-columns: 1fr; }
  .lab { padding: 4px 8px; font-size: 11.5px; right: 10px; top: 10px; }
}

/* ---------- Jacnex Studio (bloque oscuro) ---------- */
.feat { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; border-radius: 28px; overflow: hidden; background: var(--navy); color: #fff; }
.feat figure { padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px); }
.feat figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.feat__body { padding: clamp(28px, 4vw, 56px); }
.feat__body h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 850; letter-spacing: -.035em; line-height: 1.02; margin: 14px 0; }
.feat__body > p { opacity: .8; max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13.5px; font-weight: 600; }
.chips svg { width: 15px; height: 15px; color: #7FB0FF; }
.feat__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat figure { padding: 24px 24px 0; } }

/* ---------- Formatos ---------- */
.formatos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.formato { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r); background: #fff; transition: transform .35s var(--eo), box-shadow .35s; }
.formato:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(10,22,51,.35); }
.formato b { font-size: 26px; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: var(--c); }
.formato p { font-size: 14px; color: var(--mu); }
.formato span { display: flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 700; font-size: 14.5px; }
.formato span img { width: 24px; height: 24px; }
@media (max-width: 1080px) { .formatos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .formatos { grid-template-columns: 1fr 1fr; } }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 24px; border-radius: var(--r); background: #fff; }
.step b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 850; font-size: 18px; margin-bottom: 16px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--mu); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Forgenex ---------- */
.forge { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); padding: clamp(28px, 4vw, 48px); border-radius: 28px; color: #fff; background: linear-gradient(120deg, #3B22B8, #6D4AFF 55%, #8A4DFF); }
.forge > img { width: clamp(80px, 10vw, 120px); flex: none; filter: drop-shadow(0 18px 30px rgba(20,0,80,.45)); }
.forge > div { flex: 1; }
.forge small { font-weight: 800; font-size: 13px; letter-spacing: .08em; opacity: .8; }
.forge h2 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 40px); font-weight: 850; letter-spacing: -.03em; line-height: 1.05; }
.forge p { opacity: .85; max-width: 36em; }
.forge__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.forge .btn--white { color: #3B22B8; }
@media (max-width: 860px) { .forge { flex-wrap: wrap; } .forge > img { width: 72px; } }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; align-items: start; }
.faq__help { padding: 28px; border-radius: 24px; background: var(--sky); }
.faq__help h2 { font-size: 32px; font-weight: 850; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 10px; }
.faq__help p { color: var(--ink2); margin-bottom: 22px; }
.acc { padding: 8px 24px; border-radius: 24px; background: #fff; }
.acc details + details { border-top: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%230A1633' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .35s; }
.acc details[open] summary::after { transform: rotate(180deg); }
.acc .body p { padding: 0 0 18px; color: var(--mu); }
.acc .body a { color: var(--blue); font-weight: 600; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Cierre y pie ---------- */
.cta { margin-top: clamp(56px, 7vw, 88px); border-radius: 28px; padding: clamp(32px, 5vw, 64px); background: linear-gradient(120deg, #1468FF, #0B4FD8); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 850; letter-spacing: -.035em; line-height: 1; max-width: 14em; }
.cta p { opacity: .85; margin-top: 10px; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ft { margin-top: clamp(56px, 7vw, 88px); background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 28px; font-size: 14.5px; }
.ft .logo { color: #fff; }
.ft .logo small { color: rgba(255,255,255,.5); }
.ft__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.ft__grid > div > p { margin-top: 14px; max-width: 24em; }
.ft__col { display: flex; flex-direction: column; gap: 8px; }
.ft__col b { color: #fff; margin-bottom: 6px; }
.ft__col a { width: fit-content; max-width: 100%; }
.ft__col a:hover { color: #fff; }
.ft__bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.ft__bot p:last-child { max-width: 56em; }
.ft__bot a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .ft__grid { grid-template-columns: 1fr 1fr; } .ft__grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Página de cada app ---------- */
.miga { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 14px; font-size: 14px; color: var(--mu); }
.miga a { font-weight: 600; color: var(--ink2); }
.miga a:hover { color: var(--blue); }
.ap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: #fff; }
.ap__ico { width: 96px; height: 96px; filter: drop-shadow(0 18px 26px rgba(10,22,51,.2)); }
.ap__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 12px; }
.ap__tags .pill { padding: 5px 11px; font-size: 12.5px; }
.ap h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.ap__lema { margin-top: 12px; font-size: 19px; color: var(--ink2); max-width: 24em; }
.ap__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.ap__nota { margin-top: 14px; font-size: 13.5px; color: var(--mu); }
.ap__vis { position: relative; border-radius: 18px; overflow: hidden; background: var(--tint); box-shadow: 0 30px 60px -30px rgba(10,22,51,.45); }
.ap__vis img { width: 100%; height: auto; }
.ap__vis--ico { display: grid; place-items: center; aspect-ratio: 8 / 5; box-shadow: none; }
.ap__vis--ico img { width: 34%; height: auto; filter: drop-shadow(0 26px 34px rgba(10,22,51,.25)); }
.ap__vis--ico span { position: absolute; left: 18px; bottom: 16px; font-size: 13.5px; font-weight: 600; color: var(--ink2); }
@media (max-width: 900px) { .ap { grid-template-columns: 1fr; } .ap__ico { width: 76px; height: 76px; } }

.dos { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 16px; }
.caja { padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff; }
.caja h2 { font-size: 22px; font-weight: 850; letter-spacing: -.02em; margin-bottom: 12px; }
.caja > p { color: var(--ink2); }
.caja > p + p { margin-top: 12px; }
.caja .casa { font-weight: 700; color: var(--ink); }
.caja .marca { font-size: 13px; color: var(--mu); }
.checks { display: grid; gap: 4px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 600; }
.checks li + li { border-top: 1px solid var(--line); }
.checks i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sky); color: var(--blue); flex: none; }
.checks svg { width: 17px; height: 17px; }
@media (max-width: 860px) { .dos { grid-template-columns: 1fr; } }

.galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.galeria a { display: block; border-radius: 18px; overflow: hidden; background: #fff; transition: transform .35s var(--eo), box-shadow .35s; }
.galeria a:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(10,22,51,.4); }
.galeria img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top left; }
.galeria figcaption { padding: 12px 16px 14px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.galeria--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .galeria--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .galeria { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .galeria { grid-template-columns: 1fr; } }

.visor { width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 18px; background: #0A1633; color: #fff; overflow: hidden; }
.visor::backdrop { background: rgba(10,22,51,.75); }
.visor img { width: 100%; max-height: calc(92vh - 52px); object-fit: contain; }
.visor div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.visor button { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 20px; line-height: 1; }

/* ---------- Descargar ---------- */
.desc { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: center; margin-top: 24px; padding: clamp(28px, 4vw, 52px); border-radius: 28px; color: #fff; background: linear-gradient(120deg, #1468FF, #0B4FD8); }
.desc h1 { margin: 16px 0 12px; font-size: clamp(34px, 4vw, 56px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }
.desc p { opacity: .88; max-width: 28em; }
.desc .btn--white { height: 58px; padding: 0 28px; font-size: 17px; }
.desc figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(5,20,70,.6); }
@media (max-width: 900px) { .desc { grid-template-columns: 1fr; } }
.gracias { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 18px 22px; border-radius: var(--r); background: #E3F7EC; color: #14532D; }
.gracias i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #22C55E; color: #fff; flex: none; }
.gracias i svg { width: 20px; height: 20px; }
.gracias a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.aviso { border-left: 5px solid var(--blue); }
.aviso code, .caja code { font-size: 14px; background: var(--bg); padding: 2px 7px; border-radius: 6px; }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 16px; }
.mini a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.mini a:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.mini img { width: 36px; height: 36px; flex: none; }
.mini b { display: block; font-size: 15px; }
.mini small { display: block; color: var(--mu); font-size: 13px; line-height: 1.3; }
.reqs { display: grid; gap: 0; }
.reqs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; }
.reqs div + div { border-top: 1px solid var(--line); }
.reqs span { color: var(--mu); }
.reqs b { text-align: right; }

/* ---------- Créditos ---------- */
.legal-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.legal-hero h1 { margin: 16px 0 10px; font-size: clamp(36px, 5vw, 60px); font-weight: 850; letter-spacing: -.035em; line-height: 1; }
.legal-hero p { color: var(--mu); max-width: 46em; }
.legal { padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: #fff; }
.legal section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal section:last-child { border: 0; margin: 0; padding: 0; }
.legal h2 { font-size: clamp(20px, 2vw, 25px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.legal p, .legal li { color: var(--ink2); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal a { color: var(--blue); font-weight: 600; }

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