/* ==========================================================================
   app-info.css · PÁGINA DE INFORMACIÓN DE CADA APP   (#/app/wuff)
   Usa los colores de cada app:  --c (color principal)  y  --a (acento)
   ========================================================================== */
.ico { display: inline-grid; place-items: center; flex: none; }
.info { display: grid; gap: 30px; --c: #F2B35A; --a: #F2B35A; }

.volver { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 500; color: var(--suave); text-decoration: none; width: fit-content; margin-bottom: -14px; }
.volver:hover { color: var(--texto); }

/* ---------- Portada ---------- */
.hero {
  position: relative; margin: 0 -20px; min-height: 470px; display: grid; align-items: end; overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: radial-gradient(120% 80% at 70% 0%, color-mix(in srgb, var(--c) 70%, #000), #0E1033 75%);
}
.hero--sin-foto { min-height: 300px; }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, #00000000 35%, color-mix(in srgb, var(--c) 35%, #0E1033CC) 72%, #0B0D2AF2 100%);
}
.hero__texto { color: #fff; position: relative; z-index: 1; padding: 0 22px 26px; display: grid; gap: 14px; }
.hero__marca { display: flex; align-items: center; gap: 12px; }
.hero__logo {
  width: 54px; height: 54px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; flex: none;
  background: var(--c); color: #fff; box-shadow: 0 8px 24px #00000070, 0 0 0 2px #FFFFFF26;
}
.hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.hero__logo--grande { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto; box-shadow: 0 0 40px color-mix(in srgb, var(--c) 70%, transparent); }
.hero__nombre { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1.05; }
.hero__estado { font-size: .75rem; font-weight: 500; color: #FFFFFFCC; }
.hero__lema { font-size: 2rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 2px 24px #00000099; max-width: 15ch; }

/* ---------- Descarga ---------- */
.descarga { display: grid; gap: 12px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 20px; border-radius: 18px;
  font-weight: 600; font-size: 1rem; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #fff), var(--c) 55%, color-mix(in srgb, var(--a) 70%, var(--c)));
  box-shadow: 0 12px 30px color-mix(in srgb, var(--c) 45%, transparent), inset 0 1px 0 #FFFFFF55;
  transition: transform .15s var(--curva), box-shadow .2s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px color-mix(in srgb, var(--c) 60%, transparent), inset 0 1px 0 #FFFFFF66; color: #fff; }
.insignias { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.insignia {
  display: flex; align-items: center; gap: 9px; min-height: 52px; padding: 8px 12px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid #FFFFFF38;
}
a.insignia:hover { border-color: #fff; }
.insignia__txt { display: grid; line-height: 1.1; }
.insignia__txt small { font-size: .625rem; color: #FFFFFFA6; letter-spacing: .01em; }
.insignia__txt b { font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.insignia--pronto { opacity: .55; }
html.tema-claro .insignia--pronto { opacity: 1; background: #0E103314; color: var(--texto); border-color: var(--linea-2); }
html.tema-claro .insignia--pronto small { color: var(--suave); }
.descarga__nota { font-size: .75rem; color: var(--suave); text-align: center; }

/* ---------- Secciones ---------- */
.sec { display: grid; gap: 14px; }
.sec__ojo { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ojo, color-mix(in srgb, var(--a) 75%, #fff)); }
.sec__grande { font-size: 1.375rem; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }

/* ---------- Bloques grandes con foto ---------- */
.destacados { display: grid; gap: 30px; }
.destacado { display: grid; gap: 10px; }
.destacado__foto { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 18px 44px #00000080; }
.destacado__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva); }
.destacado:hover .destacado__foto img { transform: scale(1.04); }
.destacado__num {
  position: absolute; left: 14px; top: 14px; padding: 4px 11px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: #fff; background: #00000066; backdrop-filter: blur(8px); border: 1px solid #FFFFFF33;
}
.destacado h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin-top: 4px; }
.destacado p { color: var(--suave); font-size: .9688rem; line-height: 1.55; }

/* ---------- Ventajas ---------- */
.ventajas { display: grid; gap: 10px; }
.ventaja {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px;
  background: color-mix(in srgb, var(--c) 7%, var(--fondo-2)); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--linea));
}
.ventaja__ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--a) 60%, var(--c)));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 45%, transparent);
}
.ventaja h3 { font-size: 1rem; font-weight: 600; }
.ventaja p { font-size: .875rem; color: var(--suave); line-height: 1.45; }

/* ---------- Para quién ---------- */
.publicos { display: grid; gap: 14px; }
.publico { border-radius: 24px; overflow: hidden; background: var(--fondo-2); border: 1px solid var(--linea); }
.publico__foto { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 35%; }
.publico__cuerpo { padding: 16px 18px 18px; display: grid; gap: 10px; }
.publico h3 { font-size: 1.1875rem; font-weight: 700; }
.publico ul { display: grid; gap: 8px; }
.publico li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.publico li .ico { color: var(--ojo, color-mix(in srgb, var(--a) 80%, #fff)); margin-top: 3px; }

/* ---------- Cómo funciona (línea de tiempo) ---------- */
.linea { display: grid; gap: 0; position: relative; }
.linea li { display: flex; gap: 16px; align-items: flex-start; position: relative; padding-bottom: 20px; }
.linea li:last-child { padding-bottom: 0; }
.linea li:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px;
  background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 10%, transparent));
}
.linea__num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  font-weight: 700; color: #fff; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 18%, transparent);
}
.linea p { font-size: 1rem; padding-top: 6px; line-height: 1.45; }

/* ---------- Preguntas ---------- */
.preguntas { display: grid; gap: 8px; }
.pregunta { border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--linea); overflow: hidden; }
.pregunta summary { list-style: none; cursor: pointer; padding: 16px 46px 16px 16px; font-weight: 500; position: relative; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 300;
  color: var(--ojo, color-mix(in srgb, var(--a) 80%, #fff)); transition: rotate .2s;
}
.pregunta[open] summary::after { rotate: 45deg; }
.pregunta[open] { border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.pregunta p { padding: 0 16px 16px; color: var(--suave); font-size: .9375rem; }

/* ---------- Cierre ---------- */
.cierre {
  display: grid; gap: 16px; text-align: center; padding: 30px 20px 24px; border-radius: 30px;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 30%, var(--fondo-2)), var(--fondo-2) 80%);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 0 60px color-mix(in srgb, var(--c) 22%, transparent);
}
.cierre h2 { font-size: 1.625rem; font-weight: 700; }
.publico, .pregunta, .ventaja { box-shadow: var(--sombra-suave, none); }
.cierre__dudas { font-size: .875rem; color: var(--suave); }
